Spring MVC Portlet minimize not working on Weblogic 10.3.0

We have written JSR 168 Portlets using spring MVC portlet framework. Everything works fine except for the minimize portlet functionality.
The title bar changes that is minimize becomes restore but the portlet body (content) is always visible.
Please let me know if any of you faced this issue and how to resolve it.

Hello,
From what I can see from the Spring DispatcherPortlet source (I used http://www.docjar.com/html/api/org/springframework/web/portlet/DispatcherPortlet.java.html ), it looks like this is a bug in the DispatcherPortlet. The JSR168 / JSR286 specification requires that portlets not render themselves during the render lifecycle if they are minimized, and I don't see any code in the DispatcherPortlet that checks for the portlet state. From the source in the URL above, it looks like if you added this code at line 701 inside of the doRenderService() method of DispatcherPortlet and re-compiled that code, it might work for you:
        if(request.getWindowState().equals(javax.portlet.WindowState.MINIMIZED)) {
            return;
        }Alternately, you can change your portlet.xml so instead of using the Java class org.springframework.web.portlet.DispatcherPortlet you point it at your own class:
package sample.package;
public class MinimizedAwareDispatcherPortlet extends org.springframework.web.portlet.DispatcherPortlet
    @Override
    protected void doRenderService(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws Exception {
        if(request.getWindowState().equals(javax.portlet.WindowState.MINIMIZED)) {
            return;
        super.doRenderService(request, response);
}Kevin

Similar Messages

  • Workshop for weblogic and spring 2.0.6 not working on weblogic 92

    Hi,
    I try to use workshop for weblogic 10.1 to create a web project using spring mvc framework and deploy it to a weblogic 9.2 server, and it gives me the error.
    Here's what I have done:
    Create a 9.2 server.
    Create a web project with spring facet, I downloaded spring 2.0.6.
    I created a test jsp page along with applicationContext.xml and springServlet.xml spring support.
    When I start the server and publish the ear to the server,
    I got the following error:
    Aug 28, 2007 9:18:03 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Aug 28, 2007 9:18:27 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "SpringContextServlet" failed to preload on startup in Web application: "springmvcWar".
    java.lang.NoClassDefFoundError: weblogic/i18n/logging/MessageLoggerRegistryListener
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291)
         Truncated. see log file for complete stacktrace
    I couldn't find the class weblogic/i18n/logging/MessageLoggerRegistryListener anywhere.
    Does anybody have seen this error before.
    Thanks
    maildt

    Hi,
    I tried the scenario against 9.2mp1 server and 9.2mp2 server and the publish worked fine.
    The only difference is the jsp file you created
    Can you remove your jsp file and see if the publish still fails?
    Which version of 9.2 server are you using? Also, what all facets are you using other than spring?
    Can you also try something and see if it helps?
    1. Open a new workspace
    2. In Window -> Preferences -> WebLogic -> J2EE Libraries, removed the logging bridge libraries (the 10.0 version) and re-added these libraries from a 9.2 installation.
    Basically they are
    wls-commonslogging-bridge 1.0/1.0
    wls-commonslogging-bridge-war 1.0/1.0
    wls-commonslogging-bridge 1.0/1.1
    wls-commonslogging-bridge-war 1.0/1.1
    and add 2 jars from 9.2_BEA_HOME/weblogic92\common\deployable-libraries
    3. Create web project and follow the other steps
    Thanks
    Vimala

  • Spring MVC Portlet in Weblogic Portal

    Is there any sample application for Spring MVC Portlet(JSR 168) in Weblogic Portal ? If so, where can I download it from ?

    you can get spring source code,then open spring samples folder,and spring portlet can transplant to weblogic portal

  • Spring MVC Portlet Question in JDeveloper 11.1.1.4

    Hello All,
    I am trying to develop a spring mvc portlet and test it in Jdeveloper 11.1.1.4 (integrated weblogic server). Below is my portlet.xml ... I don't think portlet-class is getting loaded. Even if i put xxxxx in the classname i don't see any errors. Has anyone done this before, what to see if there is any suggestions.
    I have a controller configured in helloWorld-portlet.xml and it is not getting invoked.
    thanks in advance,
    Prasad.
    <portlet id="1341320919131">
    <portlet-name>helloWorld</portlet-name>
    <display-name xml:lang="en-US">HelloWorld</display-name>
    <display-name xml:lang="en">English Display Name</display-name>
    <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
    <init-param>
    <name>contextConfigLocation</name>
    <value>/WEB-INF/helloWorld-portlet.xml</value>
    </init-param>
    <expiration-cache>0</expiration-cache>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>view</portlet-mode>
    </supports>
    <supported-locale>en-US</supported-locale>
    <resource-bundle>content.Language-ext</resource-bundle>
    <portlet-info>
    <title>HelloWorld</title>
    <short-title>HelloWorld</short-title>
    <keywords></keywords>
    </portlet-info>
    <portlet-preferences>
    <preference>
    <name>portletTitle</name>
    <value>value1</value>
    </preference>
    </portlet-preferences>
    </portlet>
    <custom-portlet-mode>
    <portlet-mode>about</portlet-mode>
    </custom-portlet-mode>
    <custom-portlet-mode>
    <portlet-mode>config</portlet-mode>
    </custom-portlet-mode>
    <custom-portlet-mode>
    <portlet-mode>edit_defaults</portlet-mode>
    </custom-portlet-mode>
    <custom-portlet-mode>
    <portlet-mode>preview</portlet-mode>
    </custom-portlet-mode>
    <custom-portlet-mode>
    <portlet-mode>print</portlet-mode>
    </custom-portlet-mode>
    </portlet-app>

    Also, I want to find if portlet.xml will be invoked only if deployed into webcenter, right now i am trying to run the helloWorld.jsp from Jdeveloper at url - http://127.0.0.1:7101/helloWorld/helloWorld/html/helloWorld.jsp and i am getting an empty page

  • Set_window_property('forms_mdi_window',window_state,minimize) not working

    Hi all,
    set_window_property('forms_mdi_window',window_state,maximize)
    is working but
    set_window_property('forms_mdi_window',window_state,minimize)
    not working!
    mdi window is not displayed.
    when i am typing minimize it turns into blue which should not like that. that means the syntax has mistake am i right,if u type maximize it is not turning into blue and works fine
    any help pls
    asp

    Hi all
    Still i am strugglling, i am working on this small problem for hours and hours, i created many complex forms but still i am breaking my head with this problem.
    set_window_property(forms_mdi_window,window_state,maximize);
    working fine.
    when you type the above syntax in maximize in syntax, it is not turning to blue. but if u specify the minimize it is turning into blue(some body told its reserve word)
    in my if i say maximize my form is displaying , its cool,
    if i specify minmize ...oooopppps my mdi window ifself not displyed in the browser, only i am able to see the default menu bar !
    What happened, i am working on this problem for hours and hours
    FORMS EXPERTS UR ATTENTION PLEASE.
    Is there is any problem with my formweb.cfg file
    any help ?
    thanx
    asp

  • 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

  • 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

  • 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

  • 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

  • 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

  • Exchange 5.5 portlet still not working

    I have not been able to access the exchange portlet as an external application. I have tried the various sugestions from this forum but have still not succeded. It seems that the call to ../servlet/exchangeApp?ExchangeAction=performlogin has no effect -- it is not performing a login. Instead, it generates a login page with blank parameters.
    After deleting the external application (Exchange Inbox) and adding it again will all of the parameters included, I still have the same problem -- the servlet generates a login page with blank parameters. Supplying the parameters to this new page and submitting the form has no effect.
    The results of test.asp are "VALID".
    Does anyone have any idea what may be going on here? We were hoping to go production in a few weeks with the exchange portlets working.
    Environment: Portal 3.0.9/W2K -> IIS/W2K -> Exchange 5.5/NT

    I have not been able to access the exchange portlet as an external application. I have tried the various sugestions from
    this forum but have still not succeded. It seems that the call
    to ../servlet/exchangeApp?ExchangeAction=performlogin has no
    effect -- it is not performing a login. Instead, it generates a
    login page with blank parameters.
    >
    After deleting the external application (Exchange Inbox) and adding it again will all of the parameters included, I still
    have the same problem -- the servlet generates a login page with
    blank parameters. Supplying the parameters to this new page and
    submitting the form has no effect.
    >
    The results of test.asp are "VALID".
    Does anyone have any idea what may be going on here? We were hoping to go production in a few weeks with the exchange
    portlets working.
    >
    Environment: Portal 3.0.9/W2K -> IIS/W2K -> Exchange 5.5/NT First, let me state that there are many implementations of the
    exchange portlets that are working. Unfortunately, none of
    those users are coming to this forum and talking about their
    successes! That being said, we want to help you resolve your
    issues and get the portlets implemented in your environment.
    Typically, if the external application login is failing, it
    means that one or more of the fields or values is incorrect.
    I have seen an earlier posting indicating that once an external
    application has been created, subsequent edits are not being
    saved. While I have not seen that for myself, my first
    suggestion to you is to create another external application
    entry with the correct values and try logging into it again by
    clicking on the application name in the Administer External
    Applications page.

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

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

  • My file upload java application working fine in tomcat 7  but not working in weblogic 11

    Hi All,
    My  file upload  java application  successfully run in tomcat 7 . But  I could not run it in Weblogic 11.   Getting following error message   . Please help.
    Please contact your administrator.org.springframework.beans.NullValueInNestedPathException: Invalid property &#039;fileData[0]&#039; of bean class [com.techm.util.UploadItem]: Cannot access indexed value in property referenced in indexed property path &#039;fileData[0]&#039;: returned null
      at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:681)
      at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:651)
      at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
      at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:587)
      at org.springframework.validation.DataBinder.doBind(DataBinder.java:489)
      at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:149)
      at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:110)
      at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodInvoker.doBind(AnnotationMethodHandlerAdapter.java:566)
      at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:213)
      at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:132)
      at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:326)
      at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:313)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
      at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    What version of spring are you using in tomcat?
    What version of WLS are you using.
    What JDK are you using in both environments?
    Is the issue random? or can you reproduce it at will?
    Thanks
    Luz

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

Maybe you are looking for

  • INSTR function in where clause

    Hi, I need to check whether the portion of passed comma separated value is there in one of table column values, if its present then i need to fetch that record from the same table. Example table1 col1 col2 01 john 02 Raj and i am passing '02,04,06' a

  • External monitor Syncmaster 2494SW not working after 10.6.7 update

    External monitor Samsung Syncmaster 2494  SW stopped working after 10.6.7 update on 2011 MacBook Pro. I'm using miniDP-DVI adapter. The monitor shown correctly in Display Properties with right modes and name. MackBook recognizes connection but the mo

  • Payment refusal

    Why on earth is it so hard to make a simple payment to Skype.... Or contact with customer service directly?!!! I need to renew my skype number subscription. I have been trying to renew it for the past few days, but won't accept my payment. Tomorrow m

  • GREP to find two left double-quote marks in a row?

    I'm usually pretty good with regexp, but this one is eluding me. I'd like to find a left quote ~{ followed by any number of characters -except- a right quote ~}, followed by aother left quote ~{. It should match a string like (using `` for the left q

  • How to configure Yahoo IMAP with ATT.Yahoo service

    I'm hearing about using Yahoo IMAP push server, but can find no such option about configuring my current ATT.Yahoo service for anything but POP/SMTP. Where should I be looking? Thanks