Struts in Weblogic Cluster 8.1?

          Hi,
          I want to know whether WebLogic 8.1 cluster support Struts framework ? ie, does
          it support loadbalancing and failover?
          rgds,
          ramesh
          

On 3 Jun 2004 05:23:39 -0700, "ramesh" <[email protected]>
          wrote:
          >
          >Hi,
          >
          >I want to know whether WebLogic 8.1 cluster support Struts framework ? ie, does
          >it support loadbalancing and failover?
          >
          >
          >rgds,
          >ramesh
          It's a web application framework. I don't see why it wouldn't behave
          like any other clustered web application.
          ~Ryan Upton
          

Similar Messages

  • Weblogic cluster OIM 10g - "Edit workflow" selection does not show anything

    Hello,
    My setup is OIM 10g (9102 BP15) in WLS cluster.
    When i login as a administrator and click on "Resource Management" -> Manage -> chose a resource -> "Resource workflow" (from drop down) -> "Edit workflow" on approval/provisioning flows, a new window pops up. However, it doesn't open any workflow details in the GUI. When i click "Done" (IE Yellow Triangle) on the bottom left corner of the IE window and copy the error details, it is:
    =============================================================================
    Webpage error details:
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Feb 2012 22:30:33 UTC
    Message: 'Is' is undefined
    Line: 207
    Char: 5
    Code: 0
    URI: http://<hostname>/xlWebApp/richclientlauncher.jsp?app=xlWebApp/loadDesignWorkflow.do?method=LoadWorkflow&processName=<chosen+resource>
    Message: Object expected
    Line: 30
    Char: 6
    Code: 0
    URI: http://<hostname>/xlWebApp/richclientlauncher.jsp?app=xlWebApp/loadDesignWorkflow.do?method=LoadWorkflow&processName=<chosen+resource>
    =============================================================================
    On the other hand, if i click on
    "Resource Management" -> Manage -> chose a resource -> "Resource workflow" (from drop down) -> "Configure" (Form Data Flow/Reconciliation Data Flow). I see below errors in the log:
    =====================================
    <Feb 7, 2012 10:56:48 AM PST> <Error> <Cluster> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.
    java.rmi.MarshalException: failed to marshal update(Lweblogic.cluster.replication.ROID;ILjava.io.Serializable;Ljava.lang.Object;); nested exception is:
    java.io.NotSerializableException: com.thortech.xl.webclient.workflowutil.ImageGenerator$Field
    at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:92)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:221)
    at weblogic.cluster.replication.ReplicationManager_1035_WLStub.update(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.NotSerializableException: com.thortech.xl.webclient.workflowutil.ImageGenerator$Field
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    at java.util.HashMap.writeObject(HashMap.java:1195)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Truncated. see log file for complete stacktrace
    >
    <Feb 7, 2012 10:56:48 AM PST> <Error> <Cluster> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.
    java.rmi.MarshalException: failed to marshal update(Lweblogic.cluster.replication.ROID;ILjava.io.Serializable;Ljava.lang.Object;); nested exception is:
    java.io.NotSerializableException: com.thortech.xl.webclient.workflowutil.ImageGenerator$Field
    at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:92)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:221)
    at weblogic.cluster.replication.ReplicationManager_1035_WLStub.update(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.NotSerializableException: com.thortech.xl.webclient.workflowutil.ImageGenerator$Field
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    at java.util.HashMap.writeObject(HashMap.java:1195)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Truncated. see log file for complete stacktrace
    >
    ERROR,07 Feb 2012 10:56:51,516,[org.apache.struts.actions.DispatchAction],Request[resourceWorkflows] does not contain handler parameter named method
    =============================
    Anyone encountered this before in the clustered setup ?
    Thanks,

    Hello,
    But if you see the trace, it is coming from the OOTB library. Isn't it ? It doesn't indicate if there is any issue in any custom beans.
    java.io.NotSerializableException: com.thortech.xl.webclient.workflowutil.ImageGenerator$FieldMoreover, i see this error in the log with case 2: ("configure" data flow). However, it is working and the the UI is showing me the data flow with this error in the log.
    My major concern is case 1: ("edit" workflow) which is not showing me anything on the UI ?
    Ideally, it should trigger Nexaweb client to populate the workflows in the UI.
    *1 interesting observation:*
    If i go to "Design console" -> process definition -> "Render workflow",
    then it opens the workflow in the default explorer and the url which is opened in the browser is same as the previous case. It is working here as expected. Does this means the problem is with Nexaweb client load in the UI in case 1. How to fix this ?
    Please suggest.
    Thanks,
    Edited by: oimuser007 on Feb 7, 2012 2:44 PM

  • AD Connector Error on Weblogic Cluster

    hia all,
    I have clustered deployment of oim 11g(11.1.1.5) in four node weblogic cluster 10.3.5
    While installing ADConnector 9.1.1.7.0 (copied on all 4 nodes at same location) we got following error
    DOBJ.EVT_INTERNAL_ERROR
    Adapter Compilation Failure Bulk Exception
    and in description it says (for the third task)
    X Compilation of Adapter Definitions >(Failed)
    Is there any way to have it fixed? do we need to set the XL.compilerPath uptill the the \bin of the jrockit? (it is not getting unset / blank once its set, compulsory value). I have also set the limits.config settings in linux to max, since I get "Too many files open" error in the OIM diagnostic log. following is the log
    [2011-09-13T11:50:24.705+03:00] [WLS_OIM1] [ERROR] [] [XELLERATE.ADAPTERS] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: fb6bd901a067fe70:-ecef39c:13261f64416:-8000-00000000000015e0,0] [APP: oim#11.1.1.3.0] Class/Method: tcADP/createAdapter encounter some problems: /tmp/oracle/oim/adapters/adpADCSLOCK_UNLOCKUSER.java (Too many open files)[[
    java.io.FileNotFoundException: /tmp/oracle/oim/adapters/adpADCSLOCK_UNLOCKUSER.java (Too many open files)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileReader.<init>(FileReader.java:55)
    at com.thortech.xl.dataobj.util.tcAdpUtils.compileAdapter(tcAdpUtils.java:3853)
    at com.thortech.xl.dataobj.util.tcAdpUtils.createAdapter(tcAdpUtils.java:6864)
    at com.thortech.xl.dataobj.tcADP.createAdapter(tcADP.java:469)
    at com.thortech.xl.dataobj.tcADP.eventPreUpdate(tcADP.java:426)
    at com.thortech.xl.dataobj.tcDataObj.update(tcDataObj.java:633)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:508)
    at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2906)
    at com.thortech.xl.ejb.beansimpl.tcAdapterOperationsBean.compileAdapter(tcAdapterOperationsBean.java:156)
    at Thor.API.Operations.tcAdapterOperationsIntfEJB.compileAdapterx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.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 $Proxy414.compileAdapterx(Unknown Source)
    at Thor.API.Operations.tcAdapterOperationsIntf_za74bh_tcAdapterOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcAdapterOperationsIntf_za74bh_tcAdapterOperationsIntfRemoteImpl.compileAdapterx(Unknown Source)
    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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy154.compileAdapterx(Unknown Source)
    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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy413.compileAdapterx(Unknown Source)
    at Thor.API.Operations.tcAdapterOperationsIntfDelegate.compileAdapter(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcImportOperationsBean.compileImportedAdapters(tcImportOperationsBean.java:1251)
    at com.thortech.xl.ejb.beansimpl.tcImportOperationsBean.performImport(tcImportOperationsBean.java:1154)
    at Thor.API.Operations.tcImportOperationsIntfEJB.performImportx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.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 $Proxy403.performImportx(Unknown Source)
    at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.performImportx(Unknown Source)
    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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy408.performImportx(Unknown Source)
    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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy409.performImportx(Unknown Source)
    at Thor.API.Operations.tcImportOperationsIntfDelegate.performImport(Unknown Source)
    at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.importXmlForInstallation(ConnectorInstallProcessAction.java:709)
    at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.completeInstallation(ConnectorInstallProcessAction.java:209)
    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.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(tcLookupDispatchAction.java:133)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:894)
    at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)
    at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.execute(ConnectorInstallProcessAction.java:108)
    at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
    at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
    at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    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:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    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:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    any comments?

    Ok ... i have resolved the issue, the problem was traced back to the change of access permissions in the Linux. the weblogic "nodemanager" was being started as root user this was changing the permissions on the folders and files in the /home/oracle. so I changed the startup of nodemanager from root to oracle and with some other changes the objective was achieved..... :)
    Edited by: 828703 on Sep 22, 2011 3:49 AM

  • How to setup weblogic cluster in 6.1 SP4

              Hi All,
              I have a Licensed weblogic in my solaris servers. I need to test weblogic clustering
              . How can i simulate weblogic clustering is there is any easy steps to do that
              and what should i do in order to make my EJB`s cluster aware. And some ppl say
              that i need to take a seperate weblogic cluster license other than the weblogic
              license.Kindly help me in proceeding further
              Thanks in advance
              Bala.J
              

    Hi
    I have same problem at beforetime.
    You can do follow:
    Step 1:
    copy rt.jar form JDK 1.2.1\jre\lib\jar
    to J2EE1.2.1\lib\system\
    Step 2:
    Set J2ee_classpath = c:\j2ee1.2.1\lib\system\rt.jar
    Step 3:
    Restart computer and J2ee
    You can try it
    Help can help you
    David

  • Having issue with start weblogic cluster with tangosol cluster

    Hi,
    Oracle Coherence Version 3.3.1/389p1
    Grid Edition: Development mode
    We are using Weblogic 8.1.5 with Tangosol 3.3.1 on Linux servers.
    And we added the initializing logic in the servlet's init() method to get all NamedCaches and put into the ServletContext.
    When we start weblogic cluster, the first weblogic member will startup successfully with following messages :
    <Nov 7, 2007 10:12:30 AM EST> <Info> <HTTP> <BEA-101047> <[2007-11-07 10ServletContext(id=259640596,name=clusterqa,context-path=)] initObjects: init>:12:31.565 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa1/.wlnotdelete/extract/docqa1_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
    2007-11-07 10:12:31.598 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
    Oracle Coherence Version 3.3.1/389p1
    Grid Edition: Development mode
    Copyright (c) 2000-2007 Oracle. All rights reserved.
    2007-11-07 10:12:31.938 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
    2007-11-07 10:12:31.983 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
    2007-11-07 10:12:33.267 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
    2007-11-07 10:12:34.118 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2007-11-07 10:12:37.508 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Created a new cluster with Member(Id=1, Timestamp=2007-11-07 10:12:33.323, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) UID=0x0A05B056000001161AAB782BBF561F98
    2007-11-07 10:12:37.736 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2007-11-07 10:12:38.168 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
    <Nov 7, 2007 10:12:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=259640596,name=clusterqa,context-path=)] xslProcessor: init>
    But trying to start the second weblogic member server, the startup process is stucked after tangosol cache initialization and the second weblogic member server never up running. Please see following messages :
    <Nov 7, 2007 9:49:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initDSNames: init>
    <Nov 7, 2007 9:49:42 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initObjects: init>
    2007-11-07 09:49:43.156 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa2/.wlnotdelete/extract/docqa2_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
    2007-11-07 09:49:43.188 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
    Oracle Coherence Version 3.3.1/389p1
    Grid Edition: Development mode
    Copyright (c) 2000-2007 Oracle. All rights reserved.
    2007-11-07 09:49:43.528 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
    2007-11-07 09:49:43.571 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
    2007-11-07 09:49:44.829 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
    2007-11-07 09:49:45.419 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Failed to satisfy the variance: allowed=16, actual=47
    2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Increasing allowable variance to 19
    2007-11-07 09:49:46.040 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2007-11-07 09:49:45.69, Address=10.5.176.85:8088, MachineId=48981, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) joined cluster with senior Member(Id=1, Timestamp=2007-11-07 09:45:10.205, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2)
    Could you please explain why it happens, and what should I do to resolve this issues ?
    Many Thanks,
    Bing

    Hi, Gene
    Thank you for the response. I will send you our full log files and thread dumps.
    I just want to give you more details about our cases :
    1. This only happened without starting cache servers (com.tangosol.net.DefaultCacheServer).
    2. And our application which are running on weblogic cluster will just call "CacheFactory.getCache("XXX")", and running as the Tangosol DataClient.
    3. All weblogic member servers will be up running successfully if our cache servers are up running.
    Also I tried to test another case :
    Suppose all weblogic instances and cache server instances are up running. Now I trying to restart (kill weblogic instance process and restart) one of the weblogic member, It will up running successfully only if add some sleep times after killing weblogic processes and restarting it. Looks like tangosol cluster need certain time to aware the member has left cluster, then the restart process will be successful.
    Questions :
    1. Should we start our weblogic cluster only after cache server cluster is up running ?
    2. How do we decide how many time we should wait before start new process to join the cache cluster ?
    Could you please help to explain this one for me and let us if there anyway we can do to avoid the problem.
    Many Thanks !!!
    Bing

  • No communication between the two nodes in weblogic cluster

    Hi All,
    We have installed weblogic cluster in our environment(LINUX 64-Redhat.5).On one node admin server ,managed server1,on second node we have managed server2.When we try to deploy application on one node it is not getting reflected in othe node.We have ran datagram test to check communication between 2 node.
    Here we observed that listener and pulisher are picking wrong IPs not the server Ips.
    can any one explain why and what is the problem.
    thanks,
    sudheer.

    Hi Sudheer,
    While performing the datagram test you mention the ports and ip so I am not sure how they are picking wrong ip and port. Follow the instructions to perform the test http://coherence.oracle.com/display/COH35UG/Performing+a+Datagram+Test+for+Network+Performance
    Re the deployments, you need to ensure that multicast is enabled in your environment and both your managed server are in the same subnet otherwise you need to specify WKA for unicast communication. I am assuming that you are building SOA infrastructure as it internally uses Coherence for deploying applications and you can follow the instructions http://download.oracle.com/docs/cd/E15523_01/core.1111/e12036/extend_soa.htm#CHDEAFJH else use the intructions as mentioned here http://download.oracle.com/docs/cd/E17904_01/web.1111/e13709/features.htm
    Hope this helps!
    Cheers,
    NJ

  • Timesten database driver is not supported in Weblogic cluster mode??

    Does anybody encounter this situation??
    I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
    In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
    But when we start each of managed server, I will get exception:
    ####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
    java.lang.AssertionError: Unsupported database driver
    at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
    at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
    at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
    at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
    at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
    at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
    at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
    at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
    BR,
    Peng
    Edited by: user8028210 on Nov 25, 2010 1:18 AM
    Edited by: user8028210 on Nov 25, 2010 1:19 AM

    Does anybody encounter this situation??
    I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
    In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
    But when we start each of managed server, I will get exception:
    ####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
    java.lang.AssertionError: Unsupported database driver
    at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
    at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
    at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
    at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
    at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
    at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
    at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
    at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
    at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
    at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
    BR,
    Peng
    Edited by: user8028210 on Nov 25, 2010 1:18 AM
    Edited by: user8028210 on Nov 25, 2010 1:19 AM

  • Single sign-on in weblogic cluster?

              I am using wls 7.0 sp1 that form a cluster by two managed servers each at different
              physical machine.
              In front of the servers, a hardware load-balancer providing a virtual ip that
              mapped to the real ip of the 2 machines.
              I deployed a web application to the cluster. The html & jsp files are all protected
              by Form Based Authorization.
              My expectation is, whenever I sign-on to the first managed server, the login credential
              should also be valid for the second managed server.
              But it is not the case.
              My situation is:
              - open brower with url: http://virtual.ip:7001/admin.jsp
              - the load balancer map the request to my first managed server.
              - the response from the first managed server prompt the login page for username
              and password.
              - after POST the information, my target admin.jsp page display properly.
              - when I click the link within the admin.jsp page, eg. http://virtual.address:7001/status.jsp
              there is two possibilities:
              1. the load balancer route the request to the first managed server and everything
              well.
              or
              2. the load balancer route the request to the second managed server and response
              with login page again.
              The second case is definitely not what I expected.
              Question:
              Is it the default behavior of Weblogic cluster on the single sign-on? I think
              my login is against a WLS domain (at least a cluster), not to a specific web server!
              Any comments are welcome.
              

              Note my answer is not directly related to your question, but it might help.
              From my experience to configure WL cluster with hardware load balancer, the session
              stick (layer 7 switch) should be used (either using the session cookie, or ServerID
              cookie). That is, unless one instance is down, all requests from the same session
              are better go to the same server. I ever tried round-robin or random load balance
              policy at hardware load balancer without session stick, and the result was as
              disappointing as you have seen.
              "franky c." <[email protected]> wrote:
              >
              >
              >I am using wls 7.0 sp1 that form a cluster by two managed servers each
              >at different
              >physical machine.
              >In front of the servers, a hardware load-balancer providing a virtual
              >ip that
              >mapped to the real ip of the 2 machines.
              >I deployed a web application to the cluster. The html & jsp files are
              >all protected
              >by Form Based Authorization.
              >
              >My expectation is, whenever I sign-on to the first managed server, the
              >login credential
              >should also be valid for the second managed server.
              >
              >But it is not the case.
              >
              >My situation is:
              >- open brower with url: http://virtual.ip:7001/admin.jsp
              >- the load balancer map the request to my first managed server.
              >- the response from the first managed server prompt the login page for
              >username
              >and password.
              >- after POST the information, my target admin.jsp page display properly.
              >- when I click the link within the admin.jsp page, eg. http://virtual.address:7001/status.jsp
              > there is two possibilities:
              > 1. the load balancer route the request to the first managed server
              >and everything
              >well.
              > or
              > 2. the load balancer route the request to the second managed server
              >and response
              >with login page again.
              >
              >The second case is definitely not what I expected.
              >
              >Question:
              >Is it the default behavior of Weblogic cluster on the single sign-on?
              >I think
              >my login is against a WLS domain (at least a cluster), not to a specific
              >web server!
              >
              >
              >Any comments are welcome.
              >
              >
              

  • About weblogic proxy call weblogic cluster's servlet error

              I use weblogic server 5.1, configruation tow weblogic cluster server and a weblogic
              web server, through weblogic web server received browser's http request only,
              weblogic cluster server do with jsp and servlet, now html&jsp is ok but servlet
              can not do with, if through weblogic cluster server do with jsp and servlet direct,
              it's ok.
              this is my weblogic.properties section:
              weblogic.httpd.register.*.html=\
              weblogic.servlet.internal.HttpClusterServlet
              weblogic.httpd.initArgs.*.html=\
              defaultServers=132.147.35.221:7001|132.147.35.222:7001
              weblogic.httpd.register.*.jsp=\
              weblogic.servlet.internal.HttpClusterServlet
              weblogic.httpd.initArgs.*.jsp=\
              defaultServers=132.147.35.221:7001|132.147.35.222:7001
              weblogic.httpd.register.*.servlet=\
              weblogic.servlet.internal.HttpClusterServlet
              weblogic.httpd.initArgs.*.servlet=\
              defaultServers=132.147.35.221:7001|132.147.35.222:7001
              these are weblogic server as proxy webserver errors:
              &#26143;&#26399;&#19968; &#20843;&#26376; 20 17:42:38 GMT+08:00 2001:<I> <ServletContext-General>
              helloWorld: init
              &#26143;&#26399;&#19968; &#20843;&#26376; 20 17:42:38 GMT+08:00 2001:<E> <ServletContext-General>
              Servlet failed with Exception
              java.lang.NullPointerException
              at weblogic.servlet.internal.HttpClusterServlet.init(HttpClusterServlet.java:99)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:499)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java,
              Compiled Code)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              tell me a right configuration please ,thanks.
              

    ############### Cluster Proxy Configuration ########################
              weblogic.httpd.register.cluster=weblogic.servlet.internal.HttpClusterServlet
              weblogic.httpd.initArgs.cluster=defaultServers=132.147.35.221:7001|132.147.3
              5.222:7001
              weblogic.httpd.defaultServlet=cluster
              weblogic.allow.execute.weblogic.clustler=everyone
              "chris" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I use weblogic server 5.1, configruation tow weblogic cluster server and
              a weblogic
              > web server, through weblogic web server received browser's http request
              only,
              > weblogic cluster server do with jsp and servlet, now html&jsp is ok but
              servlet
              > can not do with, if through weblogic cluster server do with jsp and
              servlet direct,
              > it's ok.
              >
              > this is my weblogic.properties section:
              > -----------------------------------------------------------------
              > weblogic.httpd.register.*.html=\
              > weblogic.servlet.internal.HttpClusterServlet
              > weblogic.httpd.initArgs.*.html=\
              > defaultServers=132.147.35.221:7001|132.147.35.222:7001
              > weblogic.httpd.register.*.jsp=\
              > weblogic.servlet.internal.HttpClusterServlet
              > weblogic.httpd.initArgs.*.jsp=\
              > defaultServers=132.147.35.221:7001|132.147.35.222:7001
              > weblogic.httpd.register.*.servlet=\
              > weblogic.servlet.internal.HttpClusterServlet
              > weblogic.httpd.initArgs.*.servlet=\
              > defaultServers=132.147.35.221:7001|132.147.35.222:7001
              > -----------------------------------------------------------------
              >
              >
              >
              > these are weblogic server as proxy webserver errors:
              > -----------------------------------------------------------------
              > &#26143;&#26399;&#19968; &#20843;&#26376; 20 17:42:38 GMT+08:00 2001:<I>
              <ServletContext-General>
              > helloWorld: init
              > &#26143;&#26399;&#19968; &#20843;&#26376; 20 17:42:38 GMT+08:00 2001:<E>
              <ServletContext-General>
              > Servlet failed with Exception
              > java.lang.NullPointerException
              > at
              weblogic.servlet.internal.HttpClusterServlet.init(HttpClusterServlet.java:99
              > at
              weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
              :499)
              > at
              weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
              va,
              > Compiled Code)
              > at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
              a:442)
              > at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:20
              0)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :115)
              > at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:922)
              > at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:886)
              > at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              Manager.java:269)
              > at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
              > at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
              Code)
              > -----------------------------------------------------------------
              >
              > tell me a right configuration please ,thanks.
              

  • Re: Running Struts on weblogic - more info

    Below is a response that was snipped from the struts-user mail list. Yet
              another case of BEA dis-information! When will you guys finally admit that you
              don't totally support the JSP1.1/Servlet2.2 specification. SOS. (Same old
              S..t)
              The responses below are from Craig McClanahan who is one of the guys in involved
              in struts. I believe he is responsible for the effort, but don't quote me on
              that!
              WebLogic wrote:
              > You should be able to get past this point with service pack 5. One of the
              > problems with struts is that some of
              > the pages take advantage of non-standard behaviour in Tomcat, however. For
              > example, in the bean-cookie.jsp
              > test they attempt to set a property on a bean that was never useBeaned.
              > Section 2.13.2, JSP 1.1 spec:
              >
              ---------------------------- Begin Quote
              The "bean-cookie.jsp" actually uses <jsp:getProperty>, not <jsp:setProperty>.
              In this particular case the relevant spec language is Section 2.13.3:
              "An <jsp:getProperty> action places the value of a Bean instance
              property, converted to a String, into the implicit out object, from
              which you can display the value as output. The Bean instance
              must be defined as indicated in the name attribute before this point
              in the page (usually via a useBean action).
              Note the word "usually" -- the reason it is here is because custom tags can be
              defining elements as well, as long as they use the corresponding TagExtraInfo
              class and, in the tag, call pageContext.setAttribute() appropriately. In this
              page, the call
              <bean:cookie id="sess" name="JSESSIONID"/>
              is the defining element that looks up the cookie named "JSESSIONID" (more on
              that
              name below) and exposes it as a JSP bean. This tag precedes the use of the bean
              in statements like this:
              <jsp:getProperty name="sess" property="domain"/>
              which looks up the "domain" property of the cookie (i.e. it calls getDomain())
              and
              writes that to the output stream.
              Thus, this page conforms to the JSP 1.1 spec requirements.
              ---------------------------- End Quote
              >
              > The name of a Bean instance defined by a <jsp:useBean> element or some other
              > element. The Bean instance must contain the property you want to set. The
              > defining element (in JSP 1.1 only a <jsp:useBean> element) must appear
              > before the <jsp:setProperty> element in the same file.
              >
              ---------------------------- Begin Quote
              Note the phrase "or some other element" -- again, custom beans can be defining
              elements, so this page would be valid even if it had been using
              <jsp:setProperty>
              instead. It is interesting to note that the corresponding paragraph in the JSP
              1.2 draft specification (Section 4.2.2.1, p. 63) has been clarified to indicate
              this:
              "The name of a Bean instance defined by a <jsp:useBean>
              or some other element. The Bean instance must contain the
              property you want to set. The defining element must appear
              before the <jsp:setProperty> element in the same file.
              so the confusing parenthetical comment about <jsp:useBean> has been removed.
              Even
              if it's a little inconsistent in 1.1, the intent is clear -- custom tags can be
              defining elements for JSP-accessible beans. That is the whole point of the
              TagExtraInfo functionality.
              ---------------------------- End Quote
              > They also hard-code the Tomcat session identifier into the tests. If you
              > want them to work either change the weblogic cookie name to JSESSIONID or
              > change the references to JSESSIONID to WebLogicSession.
              >
              ---------------------------- Begin Quote
              Servlet API Specification, Version 2.2, Section 7.1.2, p. 35:
              "Session tracking through HTTP cookies is the most used
              session tracking mechanism and is required to be supported
              by all servlet containers. The container sends a cookie to the
              client. The client will then return the cookie on each subsequent
              request to the server unambiguously associating the request
              with a session. The name of the session tracking cookie must
              be JSESSIONID.
              Prior to 2.2, the servlet container could use whatever cookie name it wanted.
              However, for 2.2 onwards, the cookie name is fixed for all containers.
              There may well be spec compliance issues with Struts that need to be fixed (such
              as the current question over whether body content can be accessed in the
              doEndTag() method of a custom tag). However, on these two issues, Struts
              complies
              with the specification.
              ---------------------------- End Quote
              Sam, it interesting that OTHER application servers can support struts. It's
              probably just a case that you don't handle the specification very well. Is this
              also why your server has not passed the J2EE compatibility tests? Oh, I'm sure
              that you guys will complain about SUN and licensing. I understand your
              complaints and I agree, but that doesn't have to do with specification
              compliance! ;^)
              BTW, everyone, there is a serious ClassCastException that should be fixed in
              service pack 6. This particular exception illustrates that BEA Weblogic 5.1 sp5
              does not support web applications properly. I created an web application under
              Tomcat3.1 and moved it to Weblogic5.1sp5. I was receiving ClassCastExceptions
              when I was trying to access an object that was passed in my JSP request and
              display it on a JSP page. I'm grateful that one of the support people finally
              fixed the problem. However, this was only a temporary patch. I'm told the
              "official patch" will be included with sp6.
              Let's hope that some day BEA Weblogic will be compliant. BTW, why is it you are
              charging so much. Oh it must be for the great support! ;-)
              If you BEA Weblogic users would like some addition links to application servers
              that support JSP1.1/Servlet2.2 specification better than Weblogic, here are two.
              http://www.orionserver.com (This is actually a full J2EE class application
              server. It has not passed the compatibility test, but they do a hell of a
              better job than BEA Weblogic. BTW, it's much cheaper too.)
              http://www.caucho.com/ (This is an open source effort. They are only in beta
              with EJB support and they are using Servlets and XML to implement the EJB
              specification. There is a charge for commercial use. Many people are using
              this engine to do the JSP/Servlets and Weblogic to do EJBs. Wonder what will
              happen when they provide EJB support?)
              You know I thought this news group was to help solve problems with Weblogic. It
              has turned into a newsgroup that tries to hide problems and respond with
              dis-information. However, this is just my opinion, just as Sam expressed his
              opinion about struts. That's assuming Sam's email was an opinion, I just
              figured it was since he did not know the JSP1.1/Servlet2.2 specification. Sorry
              if I was wrong.
              Steve
              > Sam
              >
              > "kevinx" <[email protected]> wrote in message
              > news:[email protected]...
              > > "kevinx" <[email protected]> wrote:
              > > >
              > > >I'm trying to get the Struts examples from Apache Group
              > (http://jakarta.apache.org/struts) to run on Weblogic server but getting no
              > where. The examples run perfectly on Tomcat 3.1.
              > > >
              > > >Has anyone successfully ported struts on Weblogic? Any hint is
              > appreciated.
              > > >
              > > >Thanks
              > > >Kevin
              > >
              Steven D. Wilkinson, [email protected]
              President, Elkhorn Creek Software, Inc.
              Co-author: Professional JSP, Wrox Press Inc.; ISBN: 1861003625
              Silent author: Developing Java Servlets, Sams; ISBN: 0672316005
              

    Has anyone had any luck getting struts to run with later service packs? I've got SP6 installed and now get the following when trying to run the struts-example app:javax.servlet.jsp.JspException: Missing resources attribute org.apache.struts.action.MESSAGE at org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:360)
              

  • Patchset3 (11.1.1.4/wls 10.3.4) Remote debugging JDPA in weblogic cluster

    Hi,
    I am using Patchset3 (JDeveloper 11.1.1.4/ weblogic server 10.3.4). I was wondering how i can remote debug with
    a) weblogic managed server that is part of a weblogic cluster
    b) the cluster itself that contains multiple managed servers.
    Note that i do understand how to remote debug against a weblogic server (e.g. http://jdeveloperfaq.blogspot.com/2009/12/faq-4-how-to-remote-debug-adf.html), but have not been able to find out how i can achieve this against a cluster that has multiple managed servers. Any directions will be appreciated.
    Thanks,

    Hi,
    haven't tried it but here are some suggestions that might be of help:
    1) Each managed server for each cluster node should be setup for remote debugging. This means that each managed server must be started with the -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n* options in the WebLogic start-up script. Also Tunneling must be enabled for each managed server for each cluster node.
    2) Make sure that you specify a different connection port for each managed server. This is indicated by the address* specifier above.
    3) It seems logical to me that you will need to start separate instances of JDeveloper - one for each managed server that you need to attach to.
    Let us know how it turns out,
    Nick

  • Caching read-only data in a weblogic cluster: Need Help

    Hello,
    I'm working on the development of a web site that will be based on a weblogic cluster spread across several weblogic instances running on several unix boxes.
    To avoid frequent hits to the database, I would like hold a huge amount of data in the application's in-memory cache. The idea is to query the database at startup and store the results in memory for the life of the JVM.
    I have three questions around this:
    1. Is it advisable to store this data in the form of read-only entity beans?
    2. If not, what other options do I have?
    3. In some rare cases, a back-end script might change (and commit) data contained in one or two of these 64000 records. What is the best way of propagating these data changes across the cluster?
    Any help in this regard would be greatly appreciated.
    Regards,
    Dipak Jha

    Could somebody please guide me on this?
    Dipak Jha

  • Apache Proxy Plugin with SSL in Weblogic Cluster

    Hi,
    I have configured a weblogic cluster and configured SSL. Then I configured the apache plugin to work with the cluster machines with non ssl and worked succesfull but when I configured the ssl communication between apache and weblogic I´m having problems.
    The actual configuration is:
    <Location /spmlws>
    SetHandler weblogic-handler
    WLLogFile /var/log/httpd/tmpweblogic1.log
    DebugConfigInfo ON
    Debug ALL
    KeepAliveEnabled ON
    KeepAliveSecs 15
    WebLogicPort 7002
    SecureProxy ON
    TrustedCAFile /opt/freeware/etc/httpd/conf/trustedCA35cert.pem
    TrustedCAFile /opt/freeware/etc/httpd/conf/trustedCA36cert.pem
    WLProxySSL ON
    RequireSSLHostMatch false
    WebLogicCluster machine35:7002,machine36:7002
    EnforceBasicConstraints false
    </Location>
    The problem is that the plugin always takes the last TrustedCAFile. In this way if machine36 is down the plugin tries to send all the request to machine35 but it takes the TrustedCAFile for the machine36 (/opt/freeware/etc/httpd/conf/trustedCA36cert.pem) hence the apache complains
    [Wed Jun 30 11:13:56 2010] [error] [client 10.19.232.249] ap_proxy: trying GET /spmlws/OIMProvisioning at backend host '10.19.232.97/7002; got exception 'WRITE_ERROR_TO_SERVER [os error=0,  line 796 of ../nsapi/URL.cpp]: '
    What can I do to have multiple TrustedCAFile or to have working the communication between apache and weblogic cluster using SSL?
    thanks in advance

    Acording to the documentation this is not possible.
    One way to achieve the load balancing of n-weblogic servers in cluster using ssl is to configure de HttpClusterServlet.

  • Installing LC 8.2 on WebLogic cluster

    Hi,<br /><br />We are trying to install LC 8.2 on a WebLogic cluster running on Solaris (SunOS 5.10) with a Oracle Database (10.2.0.3)<br /><br />The configuration manager stops during the task 'LiveCycle Component Deployment' with the following output:<br /><br /> Loading state from service container  <br />Deploying DSC   adobe-ejbprovider-dsc.jar<br />   DSC already running adobe-ejbprovider-dsc.jar<br />Deploying DSC   adobe-soapConnector-dsc.jar<br />       DSC already running adobe-soapConnector-dsc.jar<br />Deploying DSC   adobe-remotingConnector-dsc.jar<br />       DSC already running adobe-remotingConnector-dsc.jar<br />Deploying DSC   adobe-usermanager-dsc.jar<br />       DSC already running adobe-usermanager-dsc.jar<br />Deploying DSC   adobe-usermanager-util-dsc.jar<br />       DSC already running adobe-usermanager-util-dsc.jar<br />Deploying DSC   adobe-jobmanager-dsc.jar<br />       DSC already running adobe-jobmanager-dsc.jar<br />Deploying DSC   adobe-scheduler-weblogic-dsc.jar<br />       DSC already running adobe-scheduler-weblogic-dsc.jar<br />Deploying DSC   adobe-cacheservice-dsc.jar<br />       DSC already running adobe-cacheservice-dsc.jar<br />Deploying DSC   adobe-event-dsc.jar<br />       DSC already running adobe-event-dsc.jar<br />Deploying DSC   adobe-emailprovider-dsc.jar<br />       DSC already running adobe-emailprovider-dsc.jar<br />Deploying DSC   adobe-fileprovider-dsc.jar<br />       DSC already running adobe-fileprovider-dsc.jar<br />Deploying DSC   adobe-truststore-dsc.jar<br />       DSC already running adobe-truststore-dsc.jar<br />Deploying DSC   adobe-workflow-dsc.jar<br />       DSC already running adobe-workflow-dsc.jar<br />Deploying DSC   adobe-repository-dsc.jar<br />       DSC already running adobe-repository-dsc.jar<br />Deploying DSC   adobe-repository-provider-dsc.jar<br />       DSC already running adobe-repository-provider-dsc.jar<br />Deploying DSC   adobe-applicationmanager-dsc.jar<br />       DSC already running adobe-applicationmanager-dsc.jar<br />Deploying DSC   adobe-businesscalendar-dsc.jar<br />       DSC already running adobe-businesscalendar-dsc.jar<br />Deploying DSC   adobe-email-dsc.jar<br />       DSC already running adobe-email-dsc.jar<br />Deploying DSC   adobe-fileutils-dsc.jar<br />       DSC already running adobe-fileutils-dsc.jar<br />Deploying DSC   adobe-ftp-dsc.jar<br />       DSC already running adobe-ftp-dsc.jar<br />Deploying DSC   adobe-jdbc-dsc.jar<br />       DSC already running adobe-jdbc-dsc.jar<br />Deploying DSC   adobe-jms-dsc.jar<br />       DSC already running adobe-jms-dsc.jar<br />Deploying DSC   adobe-ldap-dsc.jar<br />       DSC already running adobe-ldap-dsc.jar<br />Deploying DSC   adobe-variablelogger-dsc.jar<br />       DSC already running adobe-variablelogger-dsc.jar<br />Deploying DSC   adobe-webservice-dsc.jar<br /><br />STDOUT fra configurationManager'en siger f.eks. flg:<br /><br />[2008-12-29 16:24:25,132], SEVERE, Thread-29,<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy<br />component<br />/export/home/domadob/projects/livecycle8.2/deploy/adobe-webservice-dsc.jar.<br />com.adobe.livecycle.lcm.core.LCMException[ALC-LCM-030-200]: Failed to<br />deploy component<br />/export/home/domadob/projects/livecycle8.2/deploy/adobe-webservice-dsc.jar.<br />        at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCs.deployDSCFiles(DeployDSCs.java:39 6)<br />        at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCs.deployDSCs(DeployDSCs.java:149)<b r />        at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCsTask$ActualTask.<init>(DeployDSCsT ask.java:84)<br />        at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCsTask$1.construct(DeployDSCsTask.ja va:56)<br />        at<br />com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)<br />        at java.lang.Thread.run(Thread.java:595)<br />Caused by: java.io.IOException: ORA-22990: LOB locators cannot span<br />transactions<br /><br />        at<br />com.adobe.pof.adapter.oracle.Oracle9iAdapter.updateObject(Oracle9iAdapter.java:655)<br />        at<br />com.adobe.pof.adapter.JDBCAdapter.updateObject(JDBCAdapter.java:479)<br />        at<br />com.adobe.pof.omapi.POFObjectManagerImpl.writeObject(POFObjectManagerImpl.java:254)

    Hello,
    Could you get any answers for this apart from the forum? I face the same situation on a non-clustered WebSphere server. We have a case open but no solution yet...
    The error message is as follows:
    [2008-12-31 17:55:48,689], SEVERE , Thread-5, com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy component ../working/deployLC/deploy/adobe-scheduler-websphere-dsc.jar.
    Regards

  • Singleton Classes in Weblogic cluster

    Hi
    Our application is having singleton classes which we refresh programatically ;though very rarely. We need to move our application into a weblogic cluster. The sigleton class refresh also needs to reflect across the servers :
    I could see the SingletonService API here http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13941/weblogic/cluster/singleton/SingletonService.html. This contain an activate() and deactivate() .Can we call this activate() method to refresh the singleton object whenever there is a refresh required ? Can we define multiple singleton service classes in the cluster ?
    Thanks
    Suneesh

    I've same issue with singleton service...
    1) I’ve created a cluster MyCluster with Man1 & Man2 managed instances.
    2) I’ve created singleton.jar out of TestCache.java, which is a singleton cache and have deployed it to the MyCluster.
    3) I’ve created man.jar out of StartupClassMan.java, which is a startup class and have deployed it to the MyCluster. And I’ve specified this as startup class for the whole MyCluster.
    4) For MyCluster, I’ve specified com.mytest.TestCache.class as singleton service with preferred server as Man1 with migratable to Man2.
    5) I run Man1, startup class StartupClassMan is invoked and it gets reference to TestCache, populates the cache & prints size as 1.
    6) Now when I run Man2, startup class StartupClassMan is invoked and it get references to TestCache & populates the cache & prints size as 1 only.
    For some reason, TestCache is not considered as true singleton. If it is true singleton, running Man2 should have printed size 2 as Man1 has already put one entry into the cache.
    And I also don't see activate & deactivate method being called when I run Man1 or Man2 servers. Any help on this is really appreciated.
    package com.mytest;
    import java.util.Map;
    import java.util.HashMap;
    public class TestCache implements weblogic.cluster.singleton.SingletonService
    private static TestCache testCache = new TestCache();
    private Map<String, String> mapCache = new HashMap<String, String>();
    private TestCache() {}
    public void activate() {
    System.out.println("TestCache activate called");
    public void deactivate() {
    System.out.println("TestCache deactivate called");
    public static TestCache getTestCache() {
    return testCache;
    public void put(String key, String value) {
    mapCache.put(key, value);
    public String get(String key) {
    return mapCache.get(key);
    public void remove(String key) {
    mapCache.remove(key);
    public int size() {
    return mapCache.size();
    package com.mytest;
    public class StartupClassMan
    public static void main(String args[]) {
    System.out.println("StartupClassMan loaded");
    TestCache testCache = TestCache.getTestCache();
    testCache.put("Man1","Man1");
    System.out.println("size: "+testCache.size());
    }

Maybe you are looking for