WebLogic functioning

Please explain to me in technical details how BEA WebLogic works.
Thanks.

Please explain to me in technical details how BEA WebLogic works.
Thanks.

Similar Messages

  • Weblog won't start up

    Hi,
    I have been trying to get the weblog function in Tiger Server to startup for a while and it just won't start. I see the following error in system.log:
    Mar 5 14:08:36 Spidey1 launchd: com.apple.blojsom: respawning too quickly! throttling
    Mar 5 14:08:36 Spidey1 launchd: com.apple.blojsom: 8 more failures without living at least 60 seconds will cause job removal
    Mar 5 14:08:36 Spidey1 launchd: com.apple.blojsom: will restart in 10 seconds
    Also, in /etc/httpd/mod_jk.log:
    [jkuri_workermap.c (573)]: In jkuri_worker_map_t::map_uri_toworker, wrong parameters
    Does anyone know what this means and how to correct it?
    We're running OS X Tiger Server 10.4.5 with the latest security updates on an XServe Dual G5.
    Thanks,
    Brendan Duddridge
    ClickSpace Interactive Inc.
    XServe Dual G5   Mac OS X (10.4.5)  

    Were your weblogs working in 10.4.4? Mine were and
    then broke when I upgraded to 10.4.5. I had to wipe
    my Xserve and reinstall. I did not upgrade to 10.4.5
    this time and my weblogs are working again.
    I've tried it on 10.4.4 and 10.4.5 to no avail.
    Thanks,
    Brendan

  • Problem with Stateful EJB in JBOSS

    Hi,
    J have a problem with invoking stateful EJB methods from my web application deployed in Jboss 4.0.5.GA both. The same EJB with WebLogic functions perfectly, instead with Jboss it often throws the following exception:
    ERROR [org.jboss.ejb.plugins.LogInterceptor]
    EJBException in method: public abstract java.lang.String
    infrastruttura.server.ejb.sessionproxy.SessionProxy.getCodiceGruppo() throws
    java.rmi.RemoteException:
    javax.ejb.EJBException: Application Error: tried to enter Stateful bean with
    different tx context, contextTx: TransactionImpl:XidImpl[FormatId=257,
    GlobalId=pitjb01/305, BranchQual=, localId=305], methodTx:
    TransactionImpl:XidImpl[FormatId=257, GlobalId=pitjb01/306, BranchQual=,
    localId=306]
    at
    org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:283)
    at
    org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at
    org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at
    org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at
    org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:954)
    at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
    org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at
    org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    at
    org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:121)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    at $Proxy83.getCodiceGruppo(Unknown Source)
    at org.apache.jsp.jsp.main_jsp._jspService(main_jsp.java:117)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
    at
    org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    2008-02-27 20:19:54,458 ERROR
    [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[PitagoraOlo].[jsp]]
    Servlet.service() for servlet jsp threw exception
    java.rmi.ServerException: EJBException:; nested exception is:
    javax.ejb.EJBException: Application Error: tried to enter Stateful bean with
    different tx context, contextTx: TransactionImpl:XidImpl[FormatId=257,
    GlobalId=pitjb01/305, BranchQual=, localId=305], methodTx:
    TransactionImpl:XidImpl[FormatId=257, GlobalId=pitjb01/306, BranchQual=,
    localId=306]
    at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
    at
    org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:954)
    at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
    org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at
    org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    at
    org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:121)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    at $Proxy83.getCodiceGruppo(Unknown Source)
    at org.apache.jsp.jsp.main_jsp._jspService(main_jsp.java:117)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
    at
    org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.ejb.EJBException: Application Error: tried to enter Stateful
    bean with different tx context, contextTx: TransactionImpl:XidImpl[FormatId=257,
    GlobalId=pitjb01/305, BranchQual=, localId=305], methodTx:
    TransactionImpl:XidImpl[FormatId=257, GlobalId=pitjb01/306, BranchQual=,
    localId=306]
    at
    org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:283)
    at
    org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at
    org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at
    org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    ... 47 more
    Is there someone can help me?
    thanks forward.

              We got resolved it through bea. This is a know problem of WLS6.1 Sp4. Bea has provided
              us with a patch, after which every thing seems to be working fine.
              Please open a case with bea mentioning the CR092146. You can read the description
              of this CR on internet.
              This will certainly solve your problem.
              Bob Butkus <[email protected]> wrote:
              >We are experiencing the same issue. Did you ever get this resolved?
              

  • Develop in cluster

    Hi,
              I have a cluster with two servers. I want programatically to know when one
              server shuts down for the other server execute a process.
              How can I do this??
              Thanks
              Mónica
              

    I have a cluster with two servers. I want programatically to know when          one
              > > server shuts down for the other server execute a process.
              In 5.x you cannot do this with any documented WebLogic functionality.
              One possibility is for each server to register its name in JNDI and each
              server poll that part of the tree watching for adds/removes ... that might
              work.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "ML" <[email protected]> wrote in message
              news:[email protected]..
              > Hi again,
              >
              > my enviroment is WLS 5.1 sp 10
              > ML <[email protected]> escribió en el mensaje de noticias
              > [email protected]..
              > > Hi,
              > >
              > > I have a cluster with two servers. I want programatically to know when
              one
              > > server shuts down for the other server execute a process.
              > >
              > > How can I do this??
              > >
              > > Thanks
              > >
              > > Mónica
              > >
              > >
              >
              >
              

  • URL in Role?

    Is it possible to determine the role to which a URI has been mapped in the
    security-constraint element in web.xml?
    ie: given the security constraint element below, is their a weblogic
    function/API that can be called as follows
    getRoleForURI("/cust/balance.jsp") which would return "customerBankingRole"
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>banking</web-resource-name>
    <url-pattern>/cust/balance.jsp</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>customerBankingRole</role-name>
    </auth-constraint>
    </security-constraint>

    Neil,
    Thanks for your reply.
    We are using the RDBMSRealm and want to dynamically hide/show links on our
    site depending on whether the logged in user has access to the particular
    URL.
    I have been debugging the RDBMSRealm. When a link is clicked on our site the
    role(s) that the URL has been assigned in our webapp are passed to the
    RDBMSRealm, not the URL itself. Therefore Weblogic must be making the link
    between URL and role internally.
    I was hoping the mechanism that WebLogic uses internally would be available
    to developers for the reason mentioned above.
    Brent.
    "Neil Smithline" <[email protected]> wrote in message
    news:[email protected]..
    No. There is no such call (incidentally it would have to return a
    collection of roles as there can be multiple).
    I'm wondering what would you use it for. Are you using programmatic
    security and trying to parse this information yourself?
    --- Neil
    Neil Smithline
    WLS Security Team
    BEA Systems
    "Brent Burgess" <[email protected]> wrote in message
    news:[email protected]..
    Is it possible to determine the role to which a URI has been mapped in
    the
    security-constraint element in web.xml?
    ie: given the security constraint element below, is their a weblogic
    function/API that can be called as follows
    getRoleForURI("/cust/balance.jsp") which would return"customerBankingRole"
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>banking</web-resource-name>
    <url-pattern>/cust/balance.jsp</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>customerBankingRole</role-name>
    </auth-constraint>
    </security-constraint>

  • The diff between WLI and Workshop

    I hear people use 2 terms WLI (WebLogic Integration -?) and Workshop interchangeably.
    Do these two terms represent the same thing? What are the differences if any?
    When i click on WLI at dev2dev i get Workshop doc. So, why not to use 1 term?
    Thanks,
    Greg the Pro

    You can think of WLI as a separate product that Workshop knows how to
    integrate with (and is currently the only practical way to develop WLI
    components with).
    It's separate because Workshop is a general IDE that is also used for
    other J2EE development and Weblogic functions.
    Think of another IDE like Eclipse being Workshop. Then think of how
    Eclipse can have built-in integration with things like Ant and XML.
    Eclipse isn't Ant or XML, it's an IDE that can be used with it. WLI
    would be a product like this.
    If you need any more clarification, I'd suggest trying out the products
    and reading the docs for a bit.
    Thanks
    Greg the Pro wrote:
    Thanks Steve,
    Still it's not clear. Can you exemplify ? Is WLI a subfunction of the Workshop?
    Is WLI a separate product? If yes, why?
    GtP
    Steven Ostrowski <[email protected]> wrote:
    They're not the same thing. Workshop is a general IDE plus some
    framework code that can be used with either just Weblogic Server, or
    with the entire Weblogic Platform.
    WLI is an extension to the Weblogic Server + Workshop framework that
    supports things like business process management, worklist, etc. You
    can
    also edit WLI components in Workshop.
    Greg the Pro wrote:
    I hear people use 2 terms WLI (WebLogic Integration -?) and Workshopinterchangeably.
    Do these two terms represent the same thing? What are the differencesif any?
    When i click on WLI at dev2dev i get Workshop doc. So, why not touse 1 term?
    Thanks,
    Greg the Pro

  • How to implement Breadcrumb functionality in weblogic portal 10.3

    Hi,
    We need to implement the breadcrumb functionality in weblogic portal 10.3.
    Tried to look for it in Google. But couldn't get success.
    Can someone help on how to implement this.
    Thanks
    Uttam

    Please find the example code for Breadcrumbs
    <%
         ArrayList breadcrumbTitles = new ArrayList();
         ArrayList breadcrumbURLs = new ArrayList();
         BookPresentationContext book = BookPresentationContext.getBookPresentationContext(request);
    PagePresentationContext pageCtx = PagePresentationContext.getPagePresentationContext(request);
         if(pageCtx.getDefinitionLabel() != null )
              breadcrumbTitles.add(pageCtx.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());
         if (!(book.getDefaultPage().equals(pageCtx.getDefinitionLabel())))
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, book.getDefaultPage()).toString());
         else
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());           
              PagePresentationContext parentPage = book.getParentPagePresentationContext();           
              while (parentPage != null)
                   breadcrumbTitles.add(parentPage.getTitle());
                   if (parentPage instanceof BookPresentationContext)
                        BookPresentationContext parentBook = (BookPresentationContext)parentPage;
                        // condition for not showing my eagle page when user not logged in. instead show default home page
                        if (parentBook.getDefaultPage().equalsIgnoreCase(""))
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, ""));
                        }else
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, parentBook.getDefaultPage()).toString());
                   else
                        breadcrumbURLs.add(PageURL.createPageURL(request, response, parentPage.getDefinitionLabel()).toString());
                   parentPage = parentPage.getParentPagePresentationContext();
    %>
         <ul class="breadcrumbs">
    <%
                   // compare if current page is selected. then dont show hyper link
                   if (pageCtx.getTitle().toString().equalsIgnoreCase((String)breadcrumbTitles.get(i)))               
    %>
                             <%=breadcrumbTitles.get(i)%>  
    <%          
                        }else
    %>                    
                             <a href="<%=breadcrumbURLs.get(i)%> "><font color="#005596"><%=breadcrumbTitles.get(i)%></font></a></b><img src="<render:getSkinPath imageName="/spacer.gif" />" width="2" /><img align="bottom" src="<render:getSkinPath imageName="/arrow_right.gif" />" />
                             <%
    %>
         </ul>

  • IPlanet plugin for WebLogic not working - cannot find function named wl_init

    Hi,
    I have been having this issue for the last two days. It relates to
    IPlanet plugin for WbLogic. Following is the error I get:
    [17/Apr/2003:11:41:26] config ( 2069): func_exec reports: cannot find
    function named wl_init [17/Apr/2003:11:41:26] failure ( 2069):
    Configuration initialization failed: Error running init function
    wl_init: unknown error
    Here is my environment:
    SUN E-250 Server
    Solaris 8.0 with recommended Patch-set
    iPlanet-WebServer-Enterprise/6.0SP4
    Web logic 7 SP2
    Here is how I have edited magnus.conf to include the following lines:
    Init fn="load-modules"
    shlib="/usr/iplanet/servers/plugins/lib/libproxy.so" func
    s="wl_proxy,wl_init" Init fn="wl_init"
    #ServerRoot /usr/iplanet/servers/https-cablevision5
    ..... rest of the file ..........
    As you have noticed I have put everything regrding plugin in one line.
    I have also used various other combinations of breaking this line
    into multiple lines but no use.
    What I have also noticed is that if I change the name of libproxy.so
    to some other arbitrary file name that does not exist, even then the
    error message does not change. So it looks like the library is not
    even being loaded.
    The library file is owned by root and has permissions to read and
    execute for everyone.
    I will really appreciate is I can get any help. I have noticed that
    there are folks who have posted similar problem, no one gave an answer
    to them. Please be more generous this time in furnishing with your
    opinion.
    Thanks
    Jamal

    I will try and be as descriptive as possible. I hate the posts that
    dont give any help.
    Anyway you did not mention anything about your obj.conf configuration.
    Here is how it should look, e.g.:
    Init fn="load-modules" funcs="wl-proxy,wl-init"\
    shlib=/usr/local/netscape/plugins/libproxy.so
    Init fn="wl-init"
    <Object name="weblogic" ppath="*/weblogic/*">
    Service fn=wl-proxy WebLogicHost=myweblogic.server.com\
    WebLogicPort=7001 PathTrim="/weblogic"
    </Object>
    Check the following url:
    http://www.weblogic.com/docs51/admindocs/nsapi.html
    Ok,so you probably have those in there. If not, then please check
    that you have directives in obj.conf and the magnus.conf as well.
    Again the service line should be all one line.
    Next, are you proxying by path or by suffix. I.E. do you want
    everything to go to weblogic or just .jsp. You can configure either
    way. This will change your directive. Specifically ppath means proxy
    by path. To proxy by file extension (or what i call suffix) then look
    at this url for specifics:
    http://www.weblogic.com/docs51/admindocs/nsapi.html#exts (notice the
    anchor in the link)
    Post how it goes...
    a.r.
    [email protected]
    [email protected] (Jamal Najmi) wrote in message news:<[email protected]>...
    Hi,
    I have been having this issue for the last two days. It relates to
    IPlanet plugin for WbLogic. Following is the error I get:
    [17/Apr/2003:11:41:26] config ( 2069): func_exec reports: cannot find
    function named wl_init [17/Apr/2003:11:41:26] failure ( 2069):
    Configuration initialization failed: Error running init function
    wl_init: unknown error
    Here is my environment:
    SUN E-250 Server
    Solaris 8.0 with recommended Patch-set
    iPlanet-WebServer-Enterprise/6.0SP4
    Web logic 7 SP2
    Here is how I have edited magnus.conf to include the following lines:
    Init fn="load-modules"
    shlib="/usr/iplanet/servers/plugins/lib/libproxy.so" func
    s="wl_proxy,wl_init" Init fn="wl_init"
    #ServerRoot /usr/iplanet/servers/https-cablevision5
    ..... rest of the file ..........
    As you have noticed I have put everything regrding plugin in one line.
    I have also used various other combinations of breaking this line
    into multiple lines but no use.
    What I have also noticed is that if I change the name of libproxy.so
    to some other arbitrary file name that does not exist, even then the
    error message does not change. So it looks like the library is not
    even being loaded.
    The library file is owned by root and has permissions to read and
    execute for everyone.
    I will really appreciate is I can get any help. I have noticed that
    there are folks who have posted similar problem, no one gave an answer
    to them. Please be more generous this time in furnishing with your
    opinion.
    Thanks
    Jamal

  • With out using Weblogic libraries to maintain the same functionality

    Hi,
    Please tell the solution of my problem.Here application developed in Weblogic,now we are migrating that applicationin jboss.Here one java servlet program is there which is using Weblogic libraries to get the connection pool .
    How can change the code without using Weblogic libraries to maintain the same funtionality. Is there any alternate method to get the connection pools in Jboss.
    Here I am attaching the code ,please go througth the code and provide me the correct solution.
    package gsk.servlets;
    import java.io.*;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import javax.management.*;
    import javax.management.InstanceNotFoundException;
    import javax.management.InvalidAttributeValueException;
    import javax.management.Notification;
    import javax.servlet.*;
    import javax.servlet.http.*;
    //Below lines are commnented by Anupama on 29-09-05 to avoid using Weblogic libraries.
    //import weblogic.jndi.Environment;
    //import weblogic.management.MBeanHome;
    //import weblogic.management.MBeanCreationException;
    //import weblogic.management.*;
    //import weblogic.management.runtime.*;
    //import weblogic.management.configuration.*;
    //import weblogic.management.RemoteNotificationListener;
    //import weblogic.management.logging.WebLogicLogNotification;
    //import javax.management.Notification.*;
    //below lines are added by Anupama T on 29-09-05 to run the same functionality without using Weblogic libraries
    import org.jboss.management.*;
    import org.jboss.jdbc.*;
    import org.jboss.naming.*;
    import org.jboss.management.j2ee.MBean;
    import javax.management.AttributeChangeNotification;
    import javax.management.JMException;
    import javax.management.MalformedObjectNameException;
    import javax.management.MBeanServer;
    import javax.management.NotificationListener;
    import javax.management.ObjectName;
    import org.jboss.logging.Logger;
    import org.jboss.system.ServiceMBean;
    import gsk.adip.portal.GKMProperties;
    import gsk.adip.dbconnectionservice.DatabaseConnector;
    * @author jjc18400
    * The ConnectionsManager class acts as a Servlet that listens and
    * responds to events that are thrown by WebLogic MBeans. In particular,
    * it listens for failures in WebLogic connection pools, and attempts to
    * restore these pools.
    public class ConnectionsManager extends HttpServlet implements NotificationListener {
         private static Context ctx;
         private static MBean managedHome;
         private static MBean adminHome;
         private static String SERVER_NAME;
         private static String DOMAIN_NAME;
         private static MBeanServer myServer;
         private JDBCConnectionPoolRuntimeMBean connectionPoolMBean;
         private JDBCConnectionPoolMBean jdbcConnPoolMBean;
         private JDBCConnectionPoolMBean myPool;
         private static ResultSet rset = null;
         public void init(ServletConfig config) throws ServletException {
              super.init(config);
              System.out.println("Initializing the ConnectionsManager servlet.");
              SERVER_NAME = GKMProperties.getProperty("GKM_SERVER_NAME");
              DOMAIN_NAME = GKMProperties.getProperty("DOMAIN_NAME");
              findMBeans();
              testConnectionPool("GENNETConnectionPool");
              try {
                   //findConnPool("GENNETConnectionPool").addNotificationListener(this, null, null);
                   RemoteMBeanServer rmbs = adminHome.getMBeanServer();
                   WebLogicObjectName oname =
                        new WebLogicObjectName("TheLogBroadcaster", "LogBroadcasterRuntime", DOMAIN_NAME, SERVER_NAME);
                   rmbs.addNotificationListener(oname, this, null, null);
              catch (IllegalArgumentException e) {}
              catch (MalformedObjectNameException e) {}
              catch (InstanceNotFoundException e) {}          
         public void handleNotification(Notification notification, Object obj) {
              WebLogicLogNotification wln = (WebLogicLogNotification)notification;
              System.out.println("\nWebLogicLogNotification");
              System.out.println(" type = " + wln.getType());
              System.out.println(" message id = " + wln.getMessageId());
              System.out.println(" server name = " + wln.getServername());
              System.out.println(" timestamp = " + wln.getTimeStamp());
              System.out.println(" message = " + wln.getMessage() + "\n");
         private void testConnectionPool(String poolName) {
              JDBCConnectionPoolMBean aPool = findConnPool(poolName);
              JDBCConnectionPoolRuntimeMBean aRuntimeMBean = findRuntimeMBean(poolName);
              /*while(aRuntimeMBean.getPoolState()) {
                   try {
                        Thread.sleep(6000);
                        System.out.println("Thread is sleeping.");
                   catch (InterruptedException ie) {
              retargetConnPool(aPool);
         private JDBCConnectionPoolRuntimeMBean findRuntimeMBean(String aPoolName) {
              JDBCConnectionPoolRuntimeMBean aRuntimeMBean = null;
              if (managedHome != null) {
                   try {
                        aRuntimeMBean = (JDBCConnectionPoolRuntimeMBean)managedHome.
                                  getRuntimeMBean(aPoolName, "JDBCConnectionPoolRuntime");
                   catch (InstanceNotFoundException e) {
                        System.out.println("Unable to find the JDBCConnectionPoolRuntimeMBean: " + e);
                        aRuntimeMBean = null;
              return aRuntimeMBean;
         private JDBCConnectionPoolMBean findConnPool(String poolName) {
              if (adminHome != null) {
                   try {
                        myPool = (JDBCConnectionPoolMBean)adminHome.getMBean(poolName, JDBCConnectionPoolMBean.class);
                   catch (InstanceNotFoundException e) {
                        System.out.println("Unable to find the JDBCConnectionPoolMBean: " + e);
                        myPool = null;
              return myPool;
         private void retargetConnPool(JDBCConnectionPoolMBean aPool) {
              //System.out.println("The connection pool: " + aPool.toString() + " is not responding.\nAttempting to retarget the pool...");
              try {
                   System.out.println("Attempting to remove " + myServer.toString() + " from the connection pool target list.");
                   aPool.removeTarget(myServer);
                   System.out.println("Removal successful: " + aPool.getTargets().toString());
                   aPool.addTarget(myServer);
                   System.out.println("Addition successful: " + aPool.getTargets().toString());
              catch (InvalidAttributeValueException e) {
                   System.out.println(e.toString());
              catch (DistributedManagementException e) {
                   System.out.println(e.toString());
         public void doPost(HttpServletRequest req, HttpServletResponse resp)
                   throws ServletException, IOException {
              String poolName = (String)req.getParameter("poolName");
              String dataSource = (String)req.getParameter("dataSource");
              //System.out.println("req.getAttribute(poolName) is: " + poolName);
              //System.out.println("req.getAttribute(dataSource) is: " + dataSource);
              String message = runTestQuery(dataSource);
              getConnectionPoolMBean(poolName);
              resp.setContentType("text/html");
              PrintWriter out = resp.getWriter();
              out.println("<html>");
              out.println(" <head><title>The ConnectionsManager Responds:</title></head>");
              out.println(" <body>");
              out.println(" <h1>" + message + "</h1>");
              out.println(" </body>");
              out.println("</html>");
         public void destroy() {
              System.out.println("Destroying the ConnectionsManager servlet.");
         public String getServletInfo() {
              return "This servlet monitors and corrects errors in WebLogic connection pools.";
         /**private void runTests() {
              while (false) {
                   rset = testConnection();
                   if (rset == null) {
                        resetConnectionPool();                    
                   try {
                        wait();
                   catch (InterruptedException e) {}
         private String runTestQuery(String dataSource) {
              String statusMessage = "";
              Connection conn = null;
              Statement stmt = null;
              ResultSet rset = null;
              //String aPoolName = "GENNETConnectionPool";
              String aSql = "select * from dual where 1 = 1";
              try {
                   conn = DatabaseConnector.getDatabaseConnection(dataSource);
                   System.out.println("Established database connection.");
                   if (conn != null) {
                        conn.setAutoCommit(false);
                        stmt = conn.createStatement();
                        rset = stmt.executeQuery(aSql);
                        statusMessage = "The connection \'" + dataSource + "\' is OK.";
              catch (Exception e) {
                   try {
                        conn.rollback();
                   catch (Exception e1) {}
                   e.printStackTrace();
                   statusMessage = "The connection \'" + dataSource + "\' has failed.\n" + e.toString();
              finally {
                   try {
                        if (stmt != null) stmt.close();
                        if (conn != null) conn.close();
                   catch (Exception e) {
                        e.printStackTrace();
                   return statusMessage;
         public void resetConnectionPool() {
         private void findConnPoolRuntimeMBean(String poolName) {
              try {
                   connectionPoolMBean = (JDBCConnectionPoolRuntimeMBean)managedHome.getRuntimeMBean(poolName, "JDBCConnectionPoolRuntime");
              catch (InstanceNotFoundException e) {
                   System.out.println("Unable to find the JDBCConnectionPoolRuntimeMBean: " + e);
         private void findMBeans() {
              Environment env = new Environment();
              try {
                   ctx = env.getInitialContext();
                   managedHome = (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME + "." + SERVER_NAME);
                   System.out.println(MBeanHome.JNDI_NAME + "." + SERVER_NAME + " -- managedHome found successfully.");
                   adminHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
                   System.out.println(MBeanHome.ADMIN_JNDI_NAME + " -- adminHome found successfully.");
                   myServer = (ServerMBean)adminHome.getMBean(SERVER_NAME, ServerMBean.class );
                   System.out.println(MBeanHome.ADMIN_JNDI_NAME + " -- " + SERVER_NAME + " instance found successfully.");
                   ctx.close();
              catch (NamingException e) {
                   System.out.println("Naming Exception: " + e);
                   managedHome = null;
                   adminHome = null;
              catch (InstanceNotFoundException e) {
                   System.out.println("Unable to find the JDBCConnectionPoolMBean: " + e);
         public String displayHomeName() {
              getConnectionPoolMBean("GENNETConnectionPool");
              if (managedHome != null) {
                   return new String("MBeanHome found successfully.");
              else return new String("MBeanHome not found.\nSee WL Console for error.");
         private void getConnectionPoolMBean(String poolName) {
              String thisPoolName = poolName;
              connectionPoolMBean = null;
              if (managedHome != null) {
                   try {
                        connectionPoolMBean =
                             (JDBCConnectionPoolRuntimeMBean)managedHome.getRuntimeMBean(thisPoolName, "JDBCConnectionPoolRuntime");
                        if (connectionPoolMBean != null) {
                             System.out.println("JDBCConnectionPoolRuntime found successfully.");
                             System.out.println("connectionPoolMBean.toString() is: " + connectionPoolMBean.toString());
                             System.out.println("connectionPoolMBean.getFailuresToReconnectCount() is: " + connectionPoolMBean.getFailuresToReconnectCount());
                             System.out.println("connectionPoolMBean.getPoolState() is: " + connectionPoolMBean.getPoolState());
                   catch (InstanceNotFoundException e) {
                        System.out.println("Unable to find the JDBCConnectionPoolRuntimeMBean: " + e);
                        connectionPoolMBean = null;
              // Obtain MBeanHome for the administration server.
              /*JDBCConnectionPoolMBean mbean = (JDBCConnectionPoolMBean)home.
                        getConfigurationMBean(poolName, "JDBCConnectionPoolConfig");
              mbean.setConnLeakProfilingEnabled(true);
              mbean.setSqlStmtParamLoggingEnabled(true);
              mbean.setSqlStmtMaxParamLength(maxLen);*/
              /*try {
                   mypool = (JDBCConnectionPoolMBean)mbh.getMBean( "mypool",
                   JDBCConnectionPoolMBean.class );
              catch( javax.management.InstanceNotFoundException e ) {
                   mypool = (JDBCConnectionPoolMBean) mbh.createAdminMBean( "mypool",
                        "JDBCConnectionPool", "mydomain" );
                   mypool.addTarget( myserver );
                   mypool.setDriverName( "org.gjt.mm.mysql.Driver" );*/
              if (adminHome != null) {
                   try {
                        myPool = (JDBCConnectionPoolMBean)adminHome.getMBean(poolName, JDBCConnectionPoolMBean.class);
                   catch (InstanceNotFoundException e) {
                        System.out.println("Unable to find the JDBCConnectionPoolMBean: " + e);
              if (myPool != null) {
                   //System.out.println("myPool.getMaxCapacity() is: " + myPool.getMaxCapacity());
                   try {
                        myPool.setMaxCapacity(10);
                        System.out.println("Before: myPool.getMaxCapacity() is: " + myPool.getMaxCapacity());
                        myPool.setMaxCapacity(100);
                        System.out.println("After: myPool.getMaxCapacity() is: " + myPool.getMaxCapacity());
                   catch (InvalidAttributeValueException e) {
                        System.out.println("Max Capacity is an invalid value.");
                   //System.out.println("myPool.getMaxCapacity() is: " + myPool.getMaxCapacity());
    }

    Hy, i've got the same problem as you. Did you find out a solution.
    If so, please contact me. Thanks a lot.
    Lorenzo

  • How to implement Shopping cart functionality in weblogic portal 10.3

    Hi,
    Can someone help me out on how to implement Shopping cart functionality in weblogic portal 10.3?
    Thanks,
    Uttam

    One piece of advise I can give is to NOT* use the Shopping Cart fuctnionality inherent in WLP (com.beasys.commerce.ebusiness.shoppingcart. The Online Commerce functionality in WebLogic Portal has been deprecated.
    Brad

  • Experiencing extreme slowness of the Admin console for any function in Weblogic 12.1.1.

    Experiencing extreme slowness of the Admin console for any function in Weblogic 12.1.1. 
    Configuration is Admin server plus 28 JMS servers - no nodemanager - all on the same server. 
    When I bring up Admin console alone response is quick but bringing up JMS servers one by one will slow it down. 
    I did not experience this problem when this configuration was in Weblogic 9. 
    Memory configuration is -Xms4g, -Xmx4g. 
    Any ideas what else I should check ?
    Thanks.

    Hi,
    Collect multiple thread dump at the interval of 10 sec and check what the threads are doing .
    Thread dumps will give you some information about why there is a slowness .
    Ways to collect thread dumps
    Thread dumps & Ways to take thread dumps - weblogicexpert
    Hope it helps

  • Oracle PL/SQL procedure/function to post message into weblogic jms queue

    Hi All,
    Is it possible to post messages to weblogic JMS queue from pl/sql procedure/function?
    From this Queue, message will be read by OSB interface.
    Any help will be highly appreciated.
    Regards,
    Steve

    904640 wrote:
    Hi All,
    Is it possible to post messages to weblogic JMS queue from pl/sql procedure/function?
    From this Queue, message will be read by OSB interface.
    Any help will be highly appreciated.
    http://www.lmgtfy.com/?q=oracle+pl/sql+weblogic+jms+queue

  • Question about File upload functionality in Weblogic

    Hi,
        We're currently trying to deploy a web application on the weblogic 12c server (via war file). And the app needs to upload a text file onto the a temperary directory within weblogic server. And on the web page side, we use JQuery File upload plugin.
        My question is, on the file receiver side, does weblogic provide any tools to receive the uploaded file and store it?
    Thanks very much in advance.

    Hi,
    Before setting the string or xstring to server->response->set_cdata (string) or server->response->set_data (xstring) try this:
    CONCATENATE 'attachment;filename=' lv_filename '.xml'  INTO lv_string.
    * Setting the filename by default
      server->response->set_header_field( name  = 'Content-Disposition'
                                          value = lv_string ).
    Hope this helps.
    Regards,
    Abhinav

  • Weblog Not Functioning After 10.4.10 to 10.5 Upgrade

    Last night we ran the 10.5 upgrade DVD on our 10.4.10 server which was only running web (w/ weblogs enabled) and Software Update services. This box is also bound to AD.
    After the upgrade my AD Bind was broken but is now fixed by unbinding and re-binding. This fixed all exsiting local groups that are populated with AD users.
    My two unresolved issues, SU and web services are not working/not working correctly.
    1. web services is running although blogs and wikis are not, although they are enabled in server admin. When I go to the default homepage, I get a standard OS X page but not of my original content (weblogs) are accessible. I also can't create any new blogs or wikis as I get a message "checking status". I can see the content in the finder at /Library/WebServer/Documents but not online. I did not make any changes to the original webserver config (still running APache 1.3 and Tomcat is not enabled). When attempting to access a formal weblog URL, I get the following error message:
    Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Apache/1.3.39 Server at blogs.springside.org Port 16080
    This makes me think somehow the service is not turned on, even though it's say it is in the server admin?
    2. We were using this server for SUs in the past. At this point, I can't even get the server to start.
    I am hopeful that since I have our content local on the XServe that all is not lost.
    Any helpful friends out there?!
    TIA,
    --Pete
    Message was edited by: pdidonato

    Hello,
    Possibly the mysql server can't get started because /tmp/mysql.sock does not exist. The reason therefor is, that the php module expect the socket to be in /var/mysql/mysql.sock, but this folder does not exist under Leopard.
    This workaround helped me to get my MySQL work under Tiger (but not the server version, I am using the desktop version).
    1. Start the MySQL Server in safe-mode using the Terminal (you will have to confirm using your admin password):
    sudo /usr/local/mysql/bin/safe_mysqld
    2. Then open a new Terminal window and create a directory (you will have to confirm using your admin password):
    sudo mkdir /var/mysql/
    3. Then you create a symbolic link:
    sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    4. Now you have to restart the MySQL-Server and that's it. I restarted the server in System Preferences/Sharing/WebSharing and I stopped and restarted the MySQL Server through the System PrefPane (also be found in System Preferences).
    I hope that helps.
    Kind regards,
    Cornelia

  • Does NetWeaver have same functionality like WLST in WebLogic?

    [WLST|http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/using_WLST.html] is powerful and convenient script for config WebLogic Server. I am wondering if NetWeaver has something similar to it?
    Thanks,
    -Jian

    Here I would like specify my question mnore clearly,
    CREATE TABLE t(
    line NUMBER(3),
    site VARCHAR2(4),
    phase VARCHAR2(5),
    test VARCHAR2(25));
    INSERT INTO t VALUES (1, '0100', '*','1111111111111111111111111' );
    INSERT INTO t VALUES (2, '0100', '=','2222222222222222222222222' );
    INSERT INTO t VALUES (3, '0100', '=','3333333333333333333333333' );
    INSERT INTO t VALUES (4, '0100', '*','4444444444444444444444444' );
    INSERT INTO t VALUES (5, '0100', '=','5555555555555555555555555' );
    INSERT INTO t VALUES (6, '0200', '*','6666666666666666666666666' );
    Here I want to retrieve the 'line' column information in ONE line way
    select line from t I want the result is like '1,2,3,4,5,6'
    Any generous help would be greatly appreciated!!!

Maybe you are looking for

  • Oracle.jbo.RowCreateException: JBO-25017: Error while creating a new ROW

    I am trying same multi step PO example. I have created a search page and there are 3 other pages for PO Header, PO Line and Review/Submit Page. I am coming on 2nd page(creating Line Item) and when I click on create new item record I am getting this e

  • Unable to update "users" ipod, disk  could not be read from or written to??

    Ok, so my first shuffle dies and I send away for a new one. This new one doesnt work, so after doing the 5 R's I get to where iTunes and Windows explorer both recognise the ipod.... Now my problem is: When I go to transfer music onto the ipod through

  • Using toolbar

    Hi, Is it possible to add an item to the toolbar? (The bar underneat the menu bar) or Is it possible to add a menu item to the right of the menu bar. (Next to the 'Help') Gr, John

  • How do I know what my bluetooth password is?

    How do I find out what my bluetooth password is?

  • Sapscript Translation

    Hi all, We made some changes to a sapscript form in its original languages (DE), now these changes are not visible in the other languages (something you would definitely find usual). We want to report all these changes to other languages, but we don’