OpenSSO sample StockClient WS not working in Weblogic 10

Hi,
I have configured Opensso (version 8.0 patch 4) in weblogic 10. I have created one more domain and configured StockService and StockClient provided with openssowssproviders.zip. After calling http://<ipaddress>:<port>/StockClient the login page for opensso is coming, and even I am getting the Stock Quote Client Sample page which asks for Symbol. But after submitting, I am getting all the results as NULL. I can the following error in weblogic console(in which opensso is configured)
WARNING: Actual Digest: mkTwqgDY8OwRDy0Y5GizckIJWEM=
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.identity.wssagents.common.provider.FAMServerAuthModule.validateRequest(FAMServerAuthModule.java:235)
at com.sun.identity.wssagents.common.provider.FAMServerAuthContext.validateRequest(FAMServerAuthContext.java:97)
at com.sun.xml.wss.provider.wsit.ServerSecurityTube.processRequest(ServerSecurityTube.java:121)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
FAMServerAuthContext : serverAuthModule : validateRequest ERROR : javax.security.auth.message.AuthException: Validating Request failed
javax.security.auth.message.AuthException: Validating Request failed
at com.sun.identity.wssagents.common.provider.FAMServerAuthModule.validateRequest(FAMServerAuthModule.java:255)
at com.sun.identity.wssagents.common.provider.FAMServerAuthContext.validateRequest(FAMServerAuthContext.java:97)
at com.sun.xml.wss.provider.wsit.ServerSecurityTube.processRequest(ServerSecurityTube.java:121)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
And the following error in weblogic console where sample StockServer and StockClient is configured
in class com.sun.samples.ClientHandler handleRequest()
com.sun.identity.wss.security.SecurityException
at com.sun.identity.wss.security.handler.SOAPRequestHandler.secureRequest(SOAPRequestHandler.java:548)
at com.sun.samples.ClientHandler.handleRequest(Unknown Source)
at weblogic.wsee.handler.JaxrpcHandlerChain.handleRequest(JaxrpcHandlerChain.java:57)
at weblogic.wsee.ws.dispatch.server.JaxrpcChainHandler.handleRequest(JaxrpcChainHandler.java:90)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:99)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:101)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:331)
at com.sun.samples.StockQuotePort_Stub.getStockQuote(Unknown Source)
at com.sun.samples.GetQuote.getStockQuote(Unknown Source)
at com.sun.samples.GetQuote.processRequest(Unknown Source)
at com.sun.samples.GetQuote.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
Can someone please sugggest the root cause for this issue?

Update:
I checked a bunch of settings, and it seems to be working now, very odd.

Similar Messages

  • CDI not working in Weblogic 12c Embedded EJB Container?

    Hi,
    we are trying to use embedded ejb container from weblogic 12c (12.1.2.0) for our junit tests.
    As our application is running in weblogic 12c, we would like to run our tests  in same environment.
    But we encountered two problems, which brings me to the conclusion that CDI is not working correctly in embedded ejb container.
    1. CDI Interceptor are not working
    2. CDI Objects (@Inject) are null
    I can provide an error message, which I think is thrown, when container tries to access the interceptor, because if I delete the interceptors the error message gets no longer thrown:
    Caused by: java.lang.UnsupportedOperationException: authenticatedLookup is unavailable for BasicNamingNode types
          at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:234)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:463)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:274)
          at weblogic.jndi.internal.ServerNamingNode_12120_WLStub.authenticatedLookup(UnknownSource)
          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:483)
    We just want to know, if CDI is not working in embedded ejb container, so we can go ahead and look for another solution for our junit tests.
    Stefan

    Hi There,
    If you have access to Oracle Support Portal, please go through below Knowledge Articles which can provide more information on your requirement:
    Sample Application Using Timer API (CommonJ) to configure Timer Based tasks in Oracle WebLogic Cluster 10.3.X Cluster (Doc ID 1614886.1)
    Clustered EJB Timer - The minimum time for recurring execution of a timer (Doc ID 1931091.1)
    Let us know if it helps.
    Cheers,
    Naveen

  • Navigation not working in Weblogic Server but working from JDeveloper.

    Hi
    I created a simple application with some page navigations (some declarative and some dynamic using Managed Bean).
    The navigation works fine when I run from JDeveloper. (Local System)
    So I deployed the application to the WebLogic server (Local system with a domain configured with ADF.)
    The pages are getting rendered correctly, bu on button clicks, the navigation is not happening from any of the pages.
    Could I have missed something or is there a way to track what the problem might be?
    JDev : 11.1.1.3
    Web Logic Server : 11gR1 (1.3) which comes with JDeveloper
    Thanks for any help.
    Sameer

    Hi John
    I am not using task flows. I just have some jspx pages defined in the unbounded task flow adfc-config.xml connected with navigation.
    I run from JDEveloper by right clicking on the jspx files.
    The URL when run from jdeveloper is as follows.
    http://127.0.0.1:7101/SessionsPOC-ViewController-context-root/faces/MainPage
    From Weblogic server I am using the link given in the Testing tab of the weblogic administration console.
    The URL is as follows.
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root (default)
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root/MainPage.jspx
    Actually, the URL given in the weblogic testing tab is not runnable. I am changing the link as follows to be able to run it.
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root/faces/MainPage.jspx
    I have defined the MainPage.jspx in the web.xml 's Welcome page. But it is not taking it I guess.
    Also, I am able to run the other page by giving the following url. But the navigation buttons are not working in that page also.
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root/faces/SecondPage.jspx
    Thanks
    Sameer

  • Sample Login Module Not working

    I have configured the sample login module shipped with identity server 6.0 for understanding the configuration of a custome login module.
    As per the instruction when i try to run the example i get an Authentication faliure i have given the following url "http://<domain-name>:58080/amserver/UI/Login?module=LoginModuleSample&org=<my org name>"
    Could anyone plz tell me y this error has occurred and if not then suggest me a way to return back to a state where i was before working with this example as now i cannot open the amconsole as well.
    plz help as fast as possible
    kirtan

    use commandline to remove and then add (again) amauth service. you should be able to log into the console again.... with your amadmin id and password
    for getting the sample auth module to work.. please read the docs carefully, it has a very clear step by step explanation on how to do it...

  • Debugging not working in weblogic portal

    When I am running my portal app built on weblogic portal 8.1, its throwing an error cannot start debugger. App might not be deployed properly.
    I have redeployed 2-3 times, and its running also fine, but debugger is not working.
    when the app domain starts few exceptions are thrown like,
    primary key voilated,
    jms connection pool could not connect
    Can this be the reason?

    well, from a debugging perspective, the application errors should not prevent a debugger from attaching to the VM. Can you be more specific about when you say the debugger is not starting?
    Thanks
    Mike

  • ListenerAdmin not working in WebLogic

    I seem to be having the same issue that folks are having within the Glassfish server. I've configured the APEX listener on WebLogic 11g (10.3.5). Followed the instructions to create the adminlistener and managerlistener and their respective groups: Admin and Manager and assigned the users apppropriately (followed the installation instructions). I've used listenerConfig to configure the listener but when trying to access listenerAdmin URL I get the dreaded 403 error. Any help would be appreciated.
    Thanks,
    Jack

    Hi Jack,
    could you post some additional information of what exactly you did and which version of APEX Listener you use?
    And did you try to reset your browsers authentication cache? As I've learned when investigating similar problems (also discussed here) both listenerStatus and listenerAdmin use the same realm for basic authentication ("APEX"). If your browser stores your authentication information for one of these realms (which it usually does) and you try to enter the other part, it resends these information, which can lead to a 403 (as discussed in Link http://localhost:8080/apex/listenerConfigure not working).
    Possibly this caching is even instance-independent (as the realm doesn't include any host/instance/... information), so if you've entered different credentials for another instance, this could be an explanation as well. Could you try to erase any entry concerning APEX Listener from your browser cache? Or try a different browser you ususally don't use, perhaps even a portable version of Firefox or something like that, where you can be sure you have a fresh start and can safely abandon everything once you've done?
    The latter case would only be relevant if you aren't even asked before you get the 403. So the question is: Can you enter the credentials at all, or do you get the 403 right away?
    Another possibility: Did you try with a simple password (without any special character)? And did you restart your WLS after adding those users? Possibly these changes aren't effective immediately.
    -Udo

  • jsp:include is not working on weblogic

    I have a problem I write the following code
    html>
    <head>
    <script LANGUAGE="javascript" SRC="js/tab.js"></script>
    <LINK href="stylesheets/global.css" type=text/css rel=stylesheet>
    <title>JobSpinner Status</title>
    </head>
    <body class="bodymargin" onload="setpage(1)">
    <jsp:include flush="true" page="JobSpinnerTab.jsp"></jsp:include>
    <form id="loginForm" action="/jobspinner/JobStatus.faces" method="post">
    <input type="hidden" name="loginForm" value="loginForm" />
    <nobr>
    It is working fine on four to five PC we have checked .
    But the problem is that it is not working on a particular weblogic Server 8.1 SP2 .
    Can someone help me .
    Regs
    Amit Verma

    Are other JSP tags working on the page?
    eg
    Server info = <%= application.getServerInfo() %> <br>
    Servlet engine version = <%=  application.getMajorVersion() %>.<%= application.getMinorVersion() %><br>
    Java version = <%= System.getProperty("java.vm.version") %><br>
    Java home = <%= System.getProperty("java.home") %><br>Your page might be being interpreted as HTML rather than passed through the JSP engine.

  • "Speak Here" sample code is not working

    Hi,
    I downloaded Speak here iphone sample code from apple site.
    Its not working on simulator. I connected headphone and mic to macbook.
    Crashing at function initWithURL file name is AudioRecorder.m
    Crashing line = OSStatus result = AudioQueueNewInput(.....
    I want to use same code in my application.
    Thanks,
    Ganesh Pisal

    "Speak Here" code is available for iphone or ipod?
    Its not working on my simulator and ipod 2.1.
    Not tried on iphone, I dont have iphone.

  • Sample CustomTabContainerProvider  does not work!

    Hello all,
    I try the sample program "Extending the JSPTabContainerProvider" (page 136 - 140) in the Sun ONE Portal Server 6.0 Developers Guide August 2002.
    Unfortunately, it does not work. At the moment, I am using Sun ONE Portal Server 6.1. Does anybody have a corrected version?
    One error, I found myself in Code Example 4-20,
    instead of class = "com.samples.providers.containers.jsp.tab.CustomTabContainerProvider">
    it should be obviously class = "custom.CustomTabContainerProvider">
    What do I have to change. By whom does it work successfully?
    Any hint would be very much appreciated!
    error in the desktop.debug file:
    ERROR: DesktopServlet.handleException()
    java.util.MissingResourceException: Can't find bundle for base name CustomTabContainerProvider, locale de

    Hi,
    One error, I found myself in Code Example 4-20,
    instead of class = "com.samples.providers.containers.jsp.tab.CustomTabContainerProvider">
    it should be obviously class = "custom.CustomTabContainerProvider">First of all it is not error, the sample suggest that you create the provider class in com.samples.providers.containers.jsp.tab package.
    Secondly looking at the ERROR:
    error in the desktop.debug file:
    ERROR: DesktopServlet.handleException()
    java.util.MissingResourceException: Can't find bundle for base name CustomTabContainerProvider, locale deIt just need a resource bundle for the provider. You create a file CustomTabContainerProvider.properties and put it into the /etc/opt/desktop/classes directory. If you are not using any properties defined in this resource file then it can be just empty. Have a look on the properties files that default containerProviders uses in dir <portal-install-dir>/SUNWps/web-apps/https-<host.domain>/portal/WEB-INF/classes.
    As you are extending JSPTabContainerProvider class, you can just copy the file JSPTabContainerProvider.properties from the above directory after renaming it to the <defined-provider-name>.properties (in your case CustomTabContainerProvider.properties) and move it into /etc/opt/desktop/classes directory.
    Sanjeev.

  • InvokeODI webservice is not working from Weblogic Server 11gR1

    Hi,
    We have deployed axis2 (1.2) with invokeodi service to weblogic server 10.3.1.
    We have a BPEL process (using Jdeveloper/SOA 11gR1) which is invoking the invokeOdi webservice to
    invoke a scenario. The invoke is failed with the following fault.
    "Unable to access the following endpoint(s): http://www.oracle.com/"
    Complete Stack Trace:
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} parts: {{ summary=oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://www.oracle.com/ ,detail=Unable to access the following endpoint(s): http://www.oracle.com/ ,code=200 } at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:301) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:935) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.handleNormalInvoke(BPELInvokeWMP.java:440) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:182) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:140) at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2675) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2558) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1256) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:188) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:285) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4607) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:828) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:610) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:354) at sun.reflect.GeneratedMethodAccessor697.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37) at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54) at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy181.handleInvoke(Unknown Source) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.java:73) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:34) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:139) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
    FYI, this is working fine with OC4J 10.1.3.4.
    Any help is greatly appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rama Krishna. P
    Edited by: user4477725 on Aug 19, 2009 12:17 PM
    Edited by: user4477725 on Aug 19, 2009 12:39 PM

    I have developed one web application using Autocompleteextender ajax control and used webservice to get the values.
    It is working in local system where i can enter some text in textbox and it will show related word sear list in dropdown.
    But after hosting in production server, some time like 1 hr or 2 hr it will work. Then it will stop working means if i type test in text box  i will not get the list related to entered text.
    Where exactly the problem. Even i have added webreference of that service. Then also sometime it will work and after some time it will not work
    How to fix this issue. Please suggest me.
    Thanks in advance.

  • JDBC stored procedure not working in Weblogic 12.1.3

    Hi,
    We are migrating from WLS 12.1.2 to 12.1.3.
    We have a JDBC stored procedure which used to work correctly under 12.1.2. I understand that 12.1.2 uses ojdbc5/ojdbc6 jars (11.2.0.x). After migrating to 12.1.3, the stored procedure is not working.
    We have narrowed it down to the different between 12.1.2 using ojdbc5/6 and 12.1.3 using ojdbc7 jars, though we do not understand what the difference here is.
    Connection connection = getConnection();
    CallableStatement callableStatement = connection.prepareCall("{call RECEIPT_LOG (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");
    callableStatement.registerOutParameter("PIO_RECEIPT_LOG_ID", java.sql.Types.INTEGER);
    callableStatement.setLong("PIO_RECEIPT_LOG_ID", 0);
    callableStatement.setString("PIO_DRAWER_NAME", request.getDrawerName());
    callableStatement.setString("PIO_DRAWER_FIRST_NAME", request.getDrawerFirstName());
    callableStatement.setString("PIO_DRAWER_OTHER_NAMES", "");
    callableStatement.setString("PIO_DRAWER_STREET_NO", "");
    callableStatement.setString("PIO_DRAWER_STREET", "");
    callableStatement.setString("PIO_DRAWER_LOCALITY", "");
    callableStatement.setLong("PIO_DRAWER_POSTCODE", 0);
    callableStatement.setString("PI_PAYMENT_TYPE", request.getPiPaymentType());
    callableStatement.setLong("PI_APPLICATION_ID", request.getApplicationId());
    callableStatement.setString("PI_PRIMARY_ID", request.getPiPrimaryId());
    callableStatement.setString("PI_SECONDARY_ID", request.getPiSecondaryId());
    callableStatement.setDouble("PI_AMOUNT", request.getPiAmount());
    callableStatement.setInt("PI_TAX_AMOUNT", 0);
    callableStatement.setNull("PI_VPC_TXNRESPONSECODE", java.sql.Types.VARCHAR);
    callableStatement.setInt("PI_VPC_TRANSACTIONNO", 0);
    callableStatement.setString("PI_VPC_MESSAGE", "");
    callableStatement.setString("PI_VPC_ACQRESPONSECODE", "");
    callableStatement.setString("PI_VPC_RECEIPTNO", "");
    callableStatement.setString("PI_VPC_BATCHNO", "");
    callableStatement.setString("PI_VPC_CARD", "");
    callableStatement.setString("PI_VPC_MERCHTXNREF", "");
    callableStatement.setString("PI_VPC_MERCHANT", "");
    callableStatement.setString("PI_VPC_ORDERINFO", "");
    callableStatement.setInt("PI_VPC_AMOUNT", 0);
    callableStatement.setString("PI_VPC_AUTHORIZEID", "");
    callableStatement.registerOutParameter("PO_RECEIPT_NO", java.sql.Types.VARCHAR);
    callableStatement.registerOutParameter("PO_SOURCE_ID", java.sql.Types.INTEGER);
    callableStatement.registerOutParameter("PO_PAYMENT_METHOD_TEXT", java.sql.Types.VARCHAR);
    callableStatement.registerOutParameter("PO_CREATE_COMMENT", java.sql.Types.VARCHAR);
    callableStatement.registerOutParameter("PO_ERROR_MESSAGE", java.sql.Types.VARCHAR);
    boolean isSuccessful = callableStatement.execute();
    Long receiptLogId = callableStatement.getLong("PIO_RECEIPT_LOG_ID");
    Here, when the callableStatement.execute() is fired, the isSuccessful is false and the output parameter receiptLogId is 0
    Any help appreciated.
    Regards,
    Rahul

    Hi All,
    We still haven't figured out what the problem is with JDBC when using ojdbc7.jar but, as an alternate solution we ported the code to Spring JDBC and got it working.
    Regards,
    Rahul

  • Built-in wlst ant task does not work in weblogic 10.3.1

    Hi,
    We have an installer script that deploys an ear file to a weblogic managed server. The script also invokes the build-tin wlst ant task to bounce the managed server. However, in version 10.3.1 the wlst task seems to be broken. I get this error:
    [echo] [wlst] sys-package-mgr: can't create package cache dir, '/u00/webadmin/product/10.3.1/WLS/wlserver_10.3/server/lib/weblogic.jar/./java
    tmp/wlstTemp/packages'
    [echo] [wlst] java.io.IOException: No such file or directory
    [echo] [wlst] at java.io.UnixFileSystem.createFileExclusively(Native Method)
    [echo] [wlst] at java.io.File.checkAndCreate(File.java:1704)
    [echo] [wlst] at java.io.File.createTempFile(File.java:1792)
    [echo] [wlst] at java.io.File.createTempFile(File.java:1828)
    [echo] [wlst] at com.bea.plateng.domain.script.jython.WLST_offline.getWLSTOfflineInitFilePath(WLST_offline.java:240)
    [echo] [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] [wlst] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] [wlst] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPath(WLSTUtil.java:63)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:214)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:133)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:75)
    [echo] [wlst] at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:103)
    [echo] [wlst] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    Obviously that is not a valid directory...so I am wondering what it is trying to do, and why. The wlst task worked perfectly in 10.3.0. No changes were made when attempting to run the script against 10.3.0 and 10.3.1, which tells me that something is different with the 10.3.1 setup. Here is the ant code I am running:
    <target name="init-taskdefs">
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
    <classpath>
    <pathelement location="ant-ext/ant-contrib.jar" />
    </classpath>
    </taskdef>
    <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" />
    <taskdef name="wlst" classname="weblogic.ant.taskdefs.management.WLSTTask" />
    </target>
    <macrodef name="wlShutdownServer">
    <attribute name="adminUser" default="${deploy.admin.username}" />
    <attribute name="adminPassword" default="${deploy.admin.password}" />
    <attribute name="adminUrl" default="${deploy.admin.url}" />
    <attribute name="serverTarget" />
    <sequential>
    <trycatch property="server.error">
    <try>
    <wlst failonerror="true"
    arguments="@{adminUser} @{adminPassword} @{adminUrl} @{serverTarget}">
    <script>
    adminUser=sys.argv[0]
    adminPassword=sys.argv[1]
    adminUrl=sys.argv[2]
    serverTarget=sys.argv[3]
    connect(adminUser,adminPassword,adminUrl)
    target=getMBean("/Servers/"+serverTarget)
    if target == None:
    target=getMBean("/Clusters/"+serverTarget)
    type="Cluster"
    else:
    type="Server"
    print 'Shutting down '+serverTarget+'...'
    shutdown(serverTarget,type,'true',15,force='true')
    print serverTarget+' was shut down successfully.'
    </script>
    </wlst>
    <!-- setDomainEnv.sh must have been called to set DOMAIN_HOME. Remove all leftover .lok files to allow server
    to start back up again. -->
    <echo message="Deleting any lok files that have not been removed..." />
    <delete failonerror="false">
    <fileset dir="${env.DOMAIN_HOME}/servers/@{serverTarget}" includes="**/*.lok"/>
    </delete>
    </try>
    <catch>
    <fail message="@{serverTarget} shutdown failed. ${server.error}" />
    </catch>
    <finally/>
    </trycatch>
    </sequential>
    </macrodef>
    Any help would be appreciated. Thanks!

    Well, it looks like passing something like "-Djava.io.tmpdir=/var/tmp/javatmp/`date +%Y%m%d`" to ant did the trick. I had to make sure that directory existed first, otherwise it threw a java ioexception.
    I still don't understand what changes between 10.3.0 and 10.3.1 to necessitate this change.

  • Sample Custom SSO not working for external userid mapped in userprofile in 11.1.1.8

    Hi,
    WebCenter sites v: 11gR1 (11.1.1.8)
    I am in the process of validating Custom SSO Behaviour. I am facing hurdles. I have mentioned below the steps I preformed.
    1. Deployed customizable-sso-11.1.1.8.0 .jar in cas/WEB-INF/lib
    2. Copied SampleLoginform.jsp file to cas/fatwire
    3. Copied the customSampleSSObeans.xml configuration file into cas/WEB-INF/spring-configuration folder.
    4. Modified the following bean
            <bean id="customUserConfiguration" class="com.fatwire.wem.sso.cas.sample.SampleConfiguration"
                    p:casLoginUrl="http://xyz.com:7001/cas/login"
                    p:resolverUrl="http://xyz.com:7001/cs/custom/customCsResolver.jsp"
                    p:resolverCredential-ref="resolverCredential"
                    p:traceFlag="false"
                    p:sampleDomain="mydomain"
                    p:sampleFormUrl="http://xyz.com:7001/cas/fatwire/SampleLoginForm.jsp"
                    />
      Note: p:resolverCredential - I found it new in this bean, as it is not referenced anywhere in the WCS documentation. This resolverCredentail is actually another bean configured in customResolverCredentail.xml under spring-configuration folder. Also, I am not sure if p:sampleDomain has to be modified to suit the environment. Currently I have retained the default value of "mydomain".
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
            xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
            <description>
                    This defines the SitesCS username/password credentials needed for identity resolution
            </description>
            <bean id="resolverCredential" class="com.fatwire.security.common.SecurityCredential">
                    <property name="username" value="fwadmin" />
                    <property name="password" value="xceladmin" />
                    </bean>
    </beans>
    The default value mentioned for property name username and password were "@username@" and "@password@" respectively. I changed them to fwadmin/xceladmin as in the file above.
    5. In WCS Admin UI, I added a user atribute "samplesso" and assigned unique value for couple of users
    6. Restarted CAS.
    7. On accessin wcs url, I am now redirected to custom sample login page(SampleLoginform.jsp)
        Following are the form fields: username, password, domain, external userid
    8. It works fine, if I submit wcs credentails for username,password and default domain (mydomain) and I am taken to the WCS Admin UI
    9. But if I submit domain(mydomain) and mapped user(unique value in sep 5) against userid, I get an error page. Following is the error
    org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing [AnnotatedAction@5f82e73 targetAction = com.fatwire.wem.sso.cas.web.CustomLoginViewAction@68b18314, attributes = map[[empty]]] in state 'viewLoginForm' of flow 'login-webflow' -- action execution attributes were 'map[[empty]]'; nested exception is java.lang.SecurityException: java.lang.NullPointerException
    What is the cause and fix for the problem. Am I supposed to perform any other step?
    Is there anything specific to p:resolverUrl="http://xyz.com:7001/cs/custom/customCsResolver.jsp" ? I did not do any deployment corresponding to this, as there was no such step mentioned in documentation.
    Thanks

    I just recently implemnted this for my current client.
    http://xyz.com:7001/cs/custom/customCsResolver.jsp
    The context "cs" here is important. For my current client, we installed 11G with context "cm". So for us the the resolver URL is:
    http://xyz.com:7001/cm/custom/customCsResolver.jsp  and when we login into FatWire we use:
    http://xyz.com:7001/cm/login.
    If you look in your Sites application folder you should see <Sites App/Context>/custom/customcsResolver.jsp. In the Jsk it's located at:
    C:\Oracle\WebCenter\Sites\11gR1\App_Server\apache-tomcat-6.0.32\webapps\cs\custom\customCsResolver.jsp
    Regards,
    Robert Jackson

  • Technology Theme: The reference sample components will not work!

    OK, maybe I am somewhere in left field on this one, but when I read "A pre-built Calendar component JavaServer Faces library. Import this file directly into Java Studio Creator", I take that to mean that I should be able to import it into JSC...WRONG!
    When I try to do so it tells me "Invalid Component Library Package -- extension must be "complib" ".
    So I scan the zip file for .complib...but I didn't find anything with that extension! ARGH!!!
    So does this thing work with JSC Update 7 or not? If it is supposed to, then what am I doing wrong?
    What I am doing now is:
    1) Go to Pallette->Added components
    2) Right click in that area and select "Import Component Library"
    3) Change the Filed of Type to All Files
    4) Select the zip file holding the same I downloaded from SUN.
    That's when the error messge pops up complaining that it doesn't like like the extension (not complib).
    Thanks!

    Hi,
    The Sample Calendar component download has been fixed for Update 7.
    http://developer.sun.com/prodtech/javatools/jscreator/reference/codesamples/samplecomps/calendar.html
    Also, the source is available and also is valid.
    Please read the brief instructions in NOTES.txt
    To build the source, you'll need to use ant
    http://ant.apache.org
    Then , in the build.xml file included in the zip, correct
    the creator.home property setting to point to the installation directory of Creator.
    hth
    John

  • Dynamic Role -- Group Mapping not working in WebLogic 10

    I have an installation I am migrating from 9.2 to 10. It uses Dynamic Role Mapping:
    From my Weblogic.xml within the deployment:
        <security-role-assignment>
            <role-name>EELSSystemAdministrator</role-name>
            <externally-defined/>
        </security-role-assignment>I am using SPNEGO SSO, and it is working fine, it retrieves the principles from LDAP and adds them to the subject, so everything is fine there. I have defined the deployment constraint "EELSSystemAdministrator" as a Global Role, and then Added a condition "group" and set it to the LDAP Group (SMS EELSSystemAdministrator) which is one of the three principles being returned from LDAP.
    When the Role mapper runs, it returns the following in the logs:
    <SecurityRoleMap> <Accessed Subject: Id=urn:oasis:names:tc:xacml:2.0:subject:group, Value=[everyone,users, SMS EELSSystemAdministrator,SMS EELSReportAnalyst]>
    <SecurityRoleMap> <Evaluate urn:oasis:names:tc:xacml:1.0:function:string-is-in(SMS EELSSystemAdministrator ,[everyone,users,SMS EELSSystemAdministrator,SMS EELSReportAnalyst]) -> false>
    <SecurityRoleMap> <primary-rule evaluates to NotApplicable because of Condition>
    <SecurityRoleMap> <urn:bea:xacml:2.0:entitlement:role:EELSSystemAdministrator:top, 1.0 evaluates to Deny>
    <SecurityRoleMap> <XACML RoleMapper: accessing role EELSSystemAdministrator: DENIEDIn my 9.2 Installation that is working I get the following in the logs:
    <SecurityRoleMap> <Accessed Subject: Id=urn:oasis:names:tc:xacml:2.0:subject:group, Value=[everyone,users,SMS EELSSystemAdministrator,SMS EELSReportAnalyst]>
    <SecurityRoleMap> <Evaluate urn:oasis:names:tc:xacml:1.0:function:string-is-in(SMS EELSSystemAdministrator,[everyone,users,SMS EELSSystemAdministrator,SMS EELSReportAnalyst]) -> true>
    <SecurityRoleMap> <Evaluate urn:oasis:names:tc:xacml:1.0:function:or(true) -> true>
    <SecurityRoleMap> <primary-rule evaluates to Permit>
    <SecurityRoleMap> <urn:bea:xacml:2.0:entitlement:role:EELSSystemAdministrator:type@E@Furl@G@M@Oapplication@EEELSWeb@[email protected]@O$@S@VDSTAMP@S@W@M@OcontextPath@E@UEELS@M@Ouri@E@U, 1.0 evaluates to Permit>
    <SecurityRoleMap> <XACML RoleMapper: accessing role EELSSystemAdministrator: GRANTED> I am not sure why my 9.2 deployment lists the role type as a "url" (which points to the right deployment, and 10 lists it as the word "top". Either way, it is not authenticating to my global role based on the Group returned from LDAP.
    I'm pretty much out of troubleshooting idea's, having compared every config file/log file etc to find descrepancies in my setup. Anyone have any suggestions, perhaps something that has to be setup differently in 10 then in 9.2?
    Thanks in Advance,
    John

    Update:
    I checked a bunch of settings, and it seems to be working now, very odd.

Maybe you are looking for

  • Video chat with AIM on a pc

    I am having trouble video chatting with my friend who has a pc. When we connect with video chat, both of us can only see me. I have an imac- Any ideas? Sound works fine imac   Mac OS X (10.4.9)  

  • Acrobat 9: security does not work in serial emails

    If I create PDF´s as a serial email out of MSWord2003 (XP) or MSWord 2007 (Vista) by the PDFMaker, and set any security options, the security options are ignored in the generated and sended PDF, which means the reciever has none of the set security r

  • Java plugin for firefox

    Hi All ! I hope this is the right forum. I have installed java plugin for firefox I try the website javatester.org and I get a message saying: Your security settings have blocked an untrusted application from running. If I understand this correct thi

  • Accounts Receivable - Report which includes Volumetrics i.e. Material/Volume/Price

    Hello, What report can be used to obtain the following for Accounts Receivable (all in one report would be preferred):      AR Aging      Material Code      Volume      Price of material For example, AR has $1M due from a customer (its current/within

  • Error message "not digitally signed or not signed in the appropriate manner

    My computer keeps crashing and I discovered that it is not recognizing a hardware device.  The device is the printer.  When I check further, it asks for driver updates and when I try to do that, I get an error message "not digitally signed or not sig