Weblogic 6.1 SP2 Caching Java Bean

Hi,
It seems like Weblogic 6.1 SP2 caches Java Bean, because any changes in Java Bean requires restart of the Instance. Is there any alternative to it , i am sure there will be..
waiting for reply .

Nope don't think so.
Any time you change the code of your javabeans, you need to redeploy them on the server - that normally requires a restart to pick up the changes.
Its the same with Tomcat and JRUN.

Similar Messages

  • Need java bean links

    Hi
    I'm new to the Java Beans concept. I'm going through the documentation for EJB on Sun website, but I feel that it's not complete. I'm searching for some tutorial that expalins how to use Beans in Servlets and JSP pages. Please post some useful links on how to use Java Beans in web applications. Also please suggest some useful books in Java Beans which I can use for reference.
    Thanks.

    Thanks a lot for the information. But I have a doubt regarding hosting the Java Beans.
    I'm using Apache Tomcat 5.0 for my Java Servlets and JSP pages. Can I use the same server to host Java Beans also ?. Or do I have to download the weblogic server separately to put Java Beans in it and then have Tomcat applications access the Beans from weblogic ?.
    I can see the latter requires some process to be done, as I'm not familiar with weblogic server. Please advise me.
    Thanks.

  • Problems with a java bean in Weblogic 5.1

    Hello,
              I am having a problem deploying a java bean in Weblogic 5.1:
              I have been given a .class and a .jar file for a java bean (not an EJB). I
              placed the .class file into e:\temp\WEB-INF\classes and added the following
              line to my weblogic.properties file:
              weblogic.httpd.webApp.testApp=e:/temp/
              I have also updated the web.xml file in the WEB-INF directory as follows:
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
              Application 1.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <servlet>
              <servlet-name>EdIface</servlet-name>
              <jsp-file>test.jsp</jsp-file>
              </servlet>
              <servlet-mapping>
              <servlet-name>EdIface</servlet-name>
              <url-pattern>EdIface</url-pattern>
              </servlet-mapping>
              </web-app>
              When I try to access my http:\\server:port\testApp\test I get an "Error
              500 - internal server error".
              Has anyone had experice with deploying a java bean with jsut the .class and
              .jar file? Where should I put the .jar file?
              I appreciate any advice!
              

    Bump

  • Can't deploy a SINGLE bean in weblogic 6.1 SP2 w/o application reload

    Anyone know how to update a single bean in an application without
    redeploying the entire application?
    We have a project containing 101 beans (session and entity) and 372
    jsps which we are deploying on weblogic 6.1, SP2 as a single
    application. The project is deployed in an exploded directory format
    as follows:
    trader/
    META-INF/application.xml
    lib/
    third-party.jar
    third-party.jar (etc.)
    SessionBean.jar
    EntityBean.jar (etc.)
    trader/
    WEB-INF/web.xml
    META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
    jsp/html/gif's reside below this point.
    Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
    library dependencies through the use of the Class-Path entry.
    When we we try to update a single bean's implementation, the
    entire application reloads, which can take between 10 - 30 minutes.
    We have tried using the weblogic.deploy tool as well as undeploying
    and redeploying the bean from the console. In both cases, the
    entire application reloads.
    When we use weblogic.deploy, we've tried the following:
    weblogic.deploy
    -url T3://localhost:7001
    update weblogicpwd trader ~/trader/build/SessionBean.jar
    and
    weblogic.deploy
    -url T3://localhost:7001
    -component SessionBean:srvr1
    update weblogicpwd trader ~/trader/build/SessionBean.jar

    Anyone know how to update a single bean in an application without
    redeploying the entire application?
    We have a project containing 101 beans (session and entity) and 372
    jsps which we are deploying on weblogic 6.1, SP2 as a single
    application. The project is deployed in an exploded directory format
    as follows:
    trader/
    META-INF/application.xml
    lib/
    third-party.jar
    third-party.jar (etc.)
    SessionBean.jar
    EntityBean.jar (etc.)
    trader/
    WEB-INF/web.xml
    META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
    jsp/html/gif's reside below this point.
    Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
    library dependencies through the use of the Class-Path entry.
    When we we try to update a single bean's implementation, the
    entire application reloads, which can take between 10 - 30 minutes.
    We have tried using the weblogic.deploy tool as well as undeploying
    and redeploying the bean from the console. In both cases, the
    entire application reloads.
    When we use weblogic.deploy, we've tried the following:
    weblogic.deploy
    -url T3://localhost:7001
    update weblogicpwd trader ~/trader/build/SessionBean.jar
    and
    weblogic.deploy
    -url T3://localhost:7001
    -component SessionBean:srvr1
    update weblogicpwd trader ~/trader/build/SessionBean.jar

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Unable to invoke WebLogic 8.1 sp2 web service from a java proxy client...

    I am not able to invoke a web service deployed on WebLogic 8.1 SP2 via a client using the proxy jar provided by WebLogic's JWS > Overview > Generate Java Proxy tool.
    I am getting a java.net.ConnectException.
    Both the client and the WebService are on the same server.
    Thanks!!
    Inder./

    Please see the instructions below. If this does not help, please open a case with customer support and tell them it may be related to CR235479
    DESCRIPTION:
    When a platform domain is created, the admin server can be started without
    any issues and a managed server can also be started without any errors if
    using startManagedWebLogic.sh. But when a managed server is started using the
    nodemanager, the managed server fails to start with the following error.
    The WebLogic Server did not start up properly.
    java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
    (Complete stack trace with be added as a note)
    The reason for this is that:
    startWebLogic.sh(cmd) and startManagedWebLogic.sh(cmd) for platform domains
    call <User domain>/setDomainEnv.sh which includes all the jars necessary for
    a platform domain in the CLASSPATH.
    Whereas startNodeManager.sh calls <WL_HOME>/common/bin/commEnv.sh, which is
    the same for both platform and server installations of weblogic and has only
    weblogic.jar in the CLASSPATH.
    Looking at historical cases, the steps to start NodeManager successfully in a
    platform domain are:
    1.
    a. Copy admin server classpath (from <user Domain>/startWebLogic.sh) to
    that of all managed servers in the 'Remote Start' tab of the WLS Console
    OR
    b. Copy admin server classpath to <WL_HOME>/server/bin/startNodeManager.sh
    (If the same nodemanager is used to manage server domain servers and platform
    domain servers, will there be any issue with this approach??)
    2. Copy the wsrpKeystore.jks file from your domain directory to the
    nodemanager directory (the parent of the directory where all the server
    directories are replicated in the node manager. By default: <WL
    HOME>/common/nodemanager)
    But these steps are not publicly documented in edocs.
    CONFIGURATION:
    Weblogic Platform Domain 8.1 (all service packs)
    WORKAROUND:
    Steps 1 and 2 above.

  • CAN I DO DATA CACHING by JAVA BEAN persistence?

    I need to keep Objects cached in the server side. so in order to make it persistence can i use JAVA BEANS.
    I am not interested to do for EJB.
    I need a cache component build in the server side .
    how can i do it in JAVA / J2EE platform?

    Your cache doesn't necessarily need to be persistant unless you're doing something like calculating the size or keeping it between server restarts.
    A simple cache is very easy to do but can get quite complex very quickly. Search for Caching on javaworld.com there's a pretty good article on it there.
    Also take a look for JCache on jcp.org, it's a request for a cacheing spec to be built into Java. Some interesting stuff there.
    Basically all you need is a HashMap to hold, keys and objects.

  • Struts, Ant, Weblogic & Java Beans! (whats going on?)

    Dear all
    Could anyone who can spend some time for me, tell me how I should I go about to use Srtuts, Ant, Java Bean and Web Logic.
    I have joined my team newly, couldn�t cope up with the technology they are using.
    Basically im struggling to use Ant to build the files for Weblogic. Any help will be of much use for me.
    Pls don�t try to give me nose-cut by �go and do google search�.
    Ihv done enough of it(dont want to test my PLs patiance), before coming to sun!
    Thanks & regards
    Vijay

    WebLogic datasource may be created in the Administration Console. build.xml script and build.properties are not required.
    http://java.sys-con.com/node/325151

  • Java.lang.OutOfMemory error when transforming xml using xsl with Weblogic 6.1 sp2

    Hello,
    I have an OutOfMemoryError when applying an xsl transformation to generate html
    code in a web page. I'm running Weblogic 6.1 sp2
    I think the problem comes from the objectin which th html is stored during the
    transformation. The problem only occurs from a minimal xml size. I could fix
    it by increasing JVM allocated size but I would like to find a more flexible solution.
    If I know an other way to solve this problem, I really would appreciate !
    Thanl you,
    Laurent.
    [AgentsGeres.jsp]

    Hello,
    You might try asking your question in the JSP newsgroup:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
    There just may not be a more flexible solution :-)
    This doc may be of some value, see chapter 2:
    http://edocs.bea.com/wls/docs61/pdf/perform.pdf
    HTH,
    Bruce
    Laurent Gosuin wrote:
    >
    Hello,
    I have an OutOfMemoryError when applying an xsl transformation to generate html
    code in a web page. I'm running Weblogic 6.1 sp2
    I think the problem comes from the objectin which th html is stored during the
    transformation. The problem only occurs from a minimal xml size. I could fix
    it by increasing JVM allocated size but I would like to find a more flexible solution.
    If I know an other way to solve this problem, I really would appreciate !
    Thanl you,
    Laurent.
    Name: AgentsGeres.jsp
    AgentsGeres.jsp Type: Hypertext Markup Language (text/html)
    Encoding: base64

  • Error deploying on weblogic 8.1 SP2

    Any help with the following would be greatly appreciated.
    java.lang.reflect.InvocationTargetException
    at COM.jrockit.reflect.NativeMethodInvoker.invoke0(ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Native Method)
    at COM.jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at COM.jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
       at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
        at weblogic.management.console.actions.RequestableActionSupport.setParam(Ljava.beans.PropertyDescriptor;[Ljava.lang.String;)V(RequestableActionSupport.java:140)
        at weblogic.management.console.actions.RequestableActionSupport.setParams(Lweblogic.management.console.utils.RequestParams;)V(RequestableActionSupport.java:88)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:149)
        at weblogic.management.console.actions.internal.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:91)
        at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:305)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6350)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
        at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
       at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Caused by: java.lang.IllegalArgumentException: component can't be null.
       at weblogic.management.console.actions.mbean.DeployerAction.setApplication(Lweblogic.management.configuration.ApplicationMBean;)V(DeployerAction.java:104)
      ... 21 more
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.IllegalArgumentException: component can't be null.]]
    at weblogic.management.console.actions.ErrorAction.(Ljava.lang.Throwable;)V(ErrorAction.java:38)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:200)
    at weblogic.management.console.actions.internal.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:91)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Current Date
    Tue Jan 10 11:37:25 EST 2006
    Console Release Build
    null
    Console Build
    null
    Server Release Build
    8.1.2.0
    Server Build
    WebLogic Temporary Patch for CR214774 03/02/2005 21:54:08
    All Server Product Versions
    WebLogic Temporary Patch for CR214774 03/02/2005 21:54:08
    WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    Request Info
    Protocol: HTTP/1.1
    ServerName: ipsad1qa-e26.ops.aol.com
    ServerPort: 15165
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString: actionType=0&application=domains%3AName%3Daol-bt-acctservice-V2_0-weblogic81%2CType%3DApplication
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: null
    ContentType: null
    CharacterEncoding: null
    Locale: en_US
    Method: GET
    Session: weblogic.servlet.internal.session.MemorySessionData@816f03f
    RequestedSessionId: DDgM1PuReh2Cdy4ZDBIcyTvSSdHCnQV2Ujoy2hEfkPU1czoHeO6C!756207268!1136910540824
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    Parameters
    actionType = 0 application = domains:Name=aol-bt-acctservice-V2_0-weblogic81,Type=Application
    Attributes
    wlinternalaction = weblogic.management.console.actions.internal.InternalActionContext@9bbc74a weblogic.management.console.catalog.Catalog = weblogic.management.console.catalog.XmlCatalog@82946eb weblogic.management.console.helpers.DebugHelper = weblogic.management.console.helpers.DebugHelper@9bbc769 weblogic.management.console.helpers.UrlHelper = weblogic.management.console.helpers.UrlHelper@9bbd2d0 weblogic.servlet.network_channel.port = 15165
    Headers
    Accept = text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset = ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding = gzip,deflate Accept-Language = en-us,en;q=0.5 Connection = keep-alive Cookie = testcookie=; RSP_COOKIE=type=0&name=RGF2aWRvY2ll; ADMINCONSOLESESSION=DDgM1PuReh2Cdy4ZDBIcyTvSSdHCnQV2Ujoy2hEfkPU1czoHeO6C!756207268 Host = ipsad1qa-e26.ops.aol.com:15165 Keep-Alive = 300 Referer = http://ipsad1qa-e26.ops.aol.com:15165/console/actions/mbean/DoMBeanWizardAction?parentMBean=domains%3AName%3Ddomains%2CType%3DDomain&attributes=weblogic.management.configuration.ApplicationMB ean.Name%3Daol-bt-acctservice-V2_0-weblogic81&attributes=weblogic.management.configuration.ApplicationMBean.Targets%3Ddomains%3AName%3Dipsqa-Cluster%2CType%3DCluster&attributes=weblogic.management.configuration.ApplicationMBean.Path%3D%2Fusr%2Fweb%2Fbea%2F8.1.2%2Fdomains%2Fipsqa-adm%2Fupload%2Faol-bt-acctservice-V2_0-weblogic81.ear&attributes=Path.currentPath%3D%2Fusr%2Fweb%2Fbea%2F8.1.2%2Fdomains%2Fipsqa-adm%2Fupload%2F&reloadNav=false&message=&wizardName=ApplicationAssistant&step=Configure&MBeanClass=weblogic.management.configuration.ApplicationMBean User-Agent = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
    BrowserInfo
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
    IE: false
    Netscape: true
    Supported: true
    JavscriptHrefs: true
    TableCellClick: false
    DocumentReloadedOnResize: true
    DropdownStretchable: false
    CellSpacingBlank: true
    EmptyCellBlank: true
    ImgOnclickSupported: false
    TableBorderFancy: false
    PartialToWideTables: true
    DisabledControlSupported: false

    That appears to be a bug in the console. You might try the command-line tool java weblogic.Deployer for deploying apps. java weblogic.Deployer -examples will give detailed usage info.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Using JSTL on Weblogic 8.1 SP2

              I'm trying to create a web app running on Weblogic 8.1 SP2 that uses JSTL tags.
              I've downloaded the Apache 1.0.5 Reference Implementation of the JSTL 1.0 spec,
              but I can't get the sample web-app (standard-examples.war) to work correctly.
              When I go to the "General Purpose Tag Examples" and try to view the Out example
              JSP, I get a large exception saying that java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
              (full stack trace at bottom). This also happens when I try to view the JSP source
              and pretty much any other example. I found that the German example in "I18N &
              Formatting" works, but running the Italian example gives a new exception:
              Parsing of JSP File '/format/ItalianLocale.jsp' failed:
              /format/ItalianLocale.jsp(12): for tag 'message', property 'bundle' of tag handler
              class 'org.apache.taglibs.standard.tag.rt.fmt.MessageTag', the value must be a
              runtime expression "<%=...%>", since we cannot do an automatic conversion from
              "${itBundle}" to type 'javax.servlet.jsp.jstl.fmt.LocalizationContext' and there
              is no custom property editor for that type
              probably occurred due to an error in /format/ItalianLocale.jsp line 12:
              <fmt:message key="greetingMorning" bundle="${itBundle}"/>
              I can, however, get this to work on Tomcat 5.0. Has any else had this problem?
              Is there something that I'm doing incorrectly?
              Thanks in advance.
              -Kelvin
              ===========================================================
              java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
                   at java.lang.Class.getDeclaredMethods0(Native Method)
                   at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
                   at java.lang.Class.getDeclaredMethods(Class.java:1114)
                   at java.beans.Introspector$1.run(Introspector.java:1103)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1101)
                   at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:370)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                   at java.beans.Introspector.(Introspector.java:351)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:207)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:193)
                   at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
                   at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
                   at weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:292)
                   at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
                   at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
                   at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
                   at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
                   at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
                   at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
                   at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
                   at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
                   at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
                   at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
                   at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
                   at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
                   at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
                   at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              

              I'm having the same problem, did you find a solution?
              "Kelvin" <[email protected]> wrote:
              >
              >I'm trying to create a web app running on Weblogic 8.1 SP2 that uses
              >JSTL tags.
              > I've downloaded the Apache 1.0.5 Reference Implementation of the JSTL
              >1.0 spec,
              >but I can't get the sample web-app (standard-examples.war) to work correctly.
              >
              >When I go to the "General Purpose Tag Examples" and try to view the Out
              >example
              >JSP, I get a large exception saying that java.lang.NoClassDefFoundError:
              >javax/servlet/jsp/el/ELException
              >(full stack trace at bottom). This also happens when I try to view the
              >JSP source
              >and pretty much any other example. I found that the German example in
              >"I18N &
              >Formatting" works, but running the Italian example gives a new exception:
              >
              >Parsing of JSP File '/format/ItalianLocale.jsp' failed:
              >--------------------------------------------------------------------------------
              > /format/ItalianLocale.jsp(12): for tag 'message', property 'bundle'
              >of tag handler
              >class 'org.apache.taglibs.standard.tag.rt.fmt.MessageTag', the value
              >must be a
              >runtime expression "<%=...%>", since we cannot do an automatic conversion
              >from
              >"${itBundle}" to type 'javax.servlet.jsp.jstl.fmt.LocalizationContext'
              >and there
              >is no custom property editor for that type
              >probably occurred due to an error in /format/ItalianLocale.jsp line 12:
              ><fmt:message key="greetingMorning" bundle="${itBundle}"/>
              >
              >
              >I can, however, get this to work on Tomcat 5.0. Has any else had this
              >problem?
              > Is there something that I'm doing incorrectly?
              >
              >
              >Thanks in advance.
              >-Kelvin
              >
              >===========================================================
              >java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
              >     at java.lang.Class.getDeclaredMethods0(Native Method)
              >     at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
              >     at java.lang.Class.getDeclaredMethods(Class.java:1114)
              >     at java.beans.Introspector$1.run(Introspector.java:1103)
              >     at java.security.AccessController.doPrivileged(Native Method)
              >     at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1101)
              >     at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:370)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:207)
              >     at java.beans.Introspector.(Introspector.java:351)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:207)
              >     at java.beans.Introspector.getBeanInfo(Introspector.java:193)
              >     at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
              >     at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
              >     at weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:292)
              >     at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
              >     at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
              >     at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
              >     at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
              >     at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
              >     at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
              >     at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
              >     at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
              >     at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
              >     at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
              >     at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
              >     at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
              >     at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
              >     at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
              >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
              >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              >     at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              >     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
              >     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              

  • Error deploying service on weblogic 8.1 SP2

    Any help with the following error would be greatly appreciated.
    java.lang.reflect.InvocationTargetException
    at COM.jrockit.reflect.NativeMethodInvoker.invoke0(ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Native Method)
    at COM.jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at COM.jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
       at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
        at weblogic.management.console.actions.RequestableActionSupport.setParam(Ljava.beans.PropertyDescriptor;[Ljava.lang.String;)V(RequestableActionSupport.java:140)
        at weblogic.management.console.actions.RequestableActionSupport.setParams(Lweblogic.management.console.utils.RequestParams;)V(RequestableActionSupport.java:88)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:149)
        at weblogic.management.console.actions.internal.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:91)
        at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:305)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6350)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
        at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
       at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Caused by: java.lang.IllegalArgumentException: component can't be null.
       at weblogic.management.console.actions.mbean.DeployerAction.setApplication(Lweblogic.management.configuration.ApplicationMBean;)V(DeployerAction.java:104)
      ... 21 more
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.IllegalArgumentException: component can't be null.]]
    at weblogic.management.console.actions.ErrorAction.(Ljava.lang.Throwable;)V(ErrorAction.java:38)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:200)
    at weblogic.management.console.actions.internal.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:91)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Current Date
    Tue Jan 10 11:37:25 EST 2006
    Console Release Build
    null
    Console Build
    null
    Server Release Build
    8.1.2.0
    Server Build
    WebLogic Temporary Patch for CR214774 03/02/2005 21:54:08
    All Server Product Versions
    WebLogic Temporary Patch for CR214774 03/02/2005 21:54:08
    WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    Request Info
    Protocol: HTTP/1.1
    ServerName: ipsad1qa-e26.ops.aol.com
    ServerPort: 15165
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString: actionType=0&application=domains%3AName%3Daol-bt-acctservice-V2_0-weblogic81%2CType%3DApplication
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: null
    ContentType: null
    CharacterEncoding: null
    Locale: en_US
    Method: GET
    Session: weblogic.servlet.internal.session.MemorySessionData@816f03f
    RequestedSessionId: DDgM1PuReh2Cdy4ZDBIcyTvSSdHCnQV2Ujoy2hEfkPU1czoHeO6C!756207268!1136910540824
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    UserPrincipal: bsewebqa
    RemoteUser: bsewebqa
    RemoteAddr: 10.128.74.206
    RemoteHost: 10.128.74.206
    Parameters
    actionType = 0 application = domains:Name=aol-bt-acctservice-V2_0-weblogic81,Type=Application
    Attributes
    wlinternalaction = weblogic.management.console.actions.internal.InternalActionContext@9bbc74a weblogic.management.console.catalog.Catalog = weblogic.management.console.catalog.XmlCatalog@82946eb weblogic.management.console.helpers.DebugHelper = weblogic.management.console.helpers.DebugHelper@9bbc769 weblogic.management.console.helpers.UrlHelper = weblogic.management.console.helpers.UrlHelper@9bbd2d0 weblogic.servlet.network_channel.port = 15165
    Headers
    Accept = text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset = ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding = gzip,deflate Accept-Language = en-us,en;q=0.5 Connection = keep-alive Cookie = testcookie=; RSP_COOKIE=type=0&name=RGF2aWRvY2ll; ADMINCONSOLESESSION=DDgM1PuReh2Cdy4ZDBIcyTvSSdHCnQV2Ujoy2hEfkPU1czoHeO6C!756207268 Host = ipsad1qa-e26.ops.aol.com:15165 Keep-Alive = 300 Referer = http://ipsad1qa-e26.ops.aol.com:15165/console/actions/mbean/DoMBeanWizardAction?parentMBean=domains%3AName%3Ddomains%2CType%3DDomain&attributes=weblogic.management.configuration.ApplicationMB ean.Name%3Daol-bt-acctservice-V2_0-weblogic81&attributes=weblogic.management.configuration.ApplicationMBean.Targets%3Ddomains%3AName%3Dipsqa-Cluster%2CType%3DCluster&attributes=weblogic.management.configuration.ApplicationMBean.Path%3D%2Fusr%2Fweb%2Fbea%2F8.1.2%2Fdomains%2Fipsqa-adm%2Fupload%2Faol-bt-acctservice-V2_0-weblogic81.ear&attributes=Path.currentPath%3D%2Fusr%2Fweb%2Fbea%2F8.1.2%2Fdomains%2Fipsqa-adm%2Fupload%2F&reloadNav=false&message=&wizardName=ApplicationAssistant&step=Configure&MBeanClass=weblogic.management.configuration.ApplicationMBean User-Agent = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
    BrowserInfo
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
    IE: false
    Netscape: true
    Supported: true
    JavscriptHrefs: true
    TableCellClick: false
    DocumentReloadedOnResize: true
    DropdownStretchable: false
    CellSpacingBlank: true
    EmptyCellBlank: true
    ImgOnclickSupported: false
    TableBorderFancy: false
    PartialToWideTables: true
    DisabledControlSupported: false

    That appears to be a bug in the console. You might try the command-line tool java weblogic.Deployer for deploying apps. java weblogic.Deployer -examples will give detailed usage info.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Weblogic 6.0 sp2: War deployment not working !!

    Hi,
    I'm using weblogic 6.0 sp2, and it seems as though the war deployment is not
    working. My war consists of jsps, images, and under the WEB-INF/classes
    directory, Struts classes (i.e. Form and Action classes). When I try to run
    a jsp, i get the following error :
    <Jul 30, 2001 11:48:10 AM PDT> <Error> <HTTP>
    <[WebAppServletContext(4655498,ati
    nera)] Root cause of ServletException
    javax.servlet.jsp.JspException: Exception creating bean of class
    com.atinera.log
    in.web.LoginForm: java.lang.ClassNotFoundException:
    com.atinera.login.web.LoginF
    orm
    But if you look in the war, that class is in there.
    What gives ?
    Thanks,
    Jamie

    That's right - ActionServlet does Class.forName(actionClass) to load action
    class, and this uses ClassLoader which loaded the current class (ActionServlet)
    ClassLoaders always delegate to their parent before attempting to load
    the class themselves, so it wasn't working until you moved struts.jar to your
    WEB-INF/lib.
    BTW, Struts doc mentions this problem:
    lib/struts.jar - This JAR file contains all of the Java classes included
    in Struts. It should be copied into the WEB-INF/lib directory of your web
    application. WARNING - If you are going to be hosting multiple Struts based
    applications on the same servlet container, you will be tempted to place the
    struts.jar file into the shared repository supported by your container. Be
    advised that this will like cause you to encounter ClassNotFoundException
    problems unless all of your application classes are stored in the shared
    repository.
    Jamie Tsao <[email protected]> wrote:
    So I found the solution to this problem, but it doesn't really make sense to
    me.
    I originally had struts.jar outside of the WAR file, but in my CLASSPATH.
    Weblogic was able to load Strut's ActionServlet (controller), but when the
    ActionServlet was looking for the LoginForm (which was inside the WAR), it
    couldn't find it.
    I solved the problem by putting struts.jar inside the WAR (under
    WEB-INF/lib) instead that other directory. Now it works cause apparently
    ActionServlet is now in the same classloader as LoginForm, the classloader
    which loaded the WAR.
    I'm confused because original way should have worked since the classloader
    that loaded struts.jar from outside the war is the parent classloader for
    the classloader that loaded the WAR. did that make any sense ?
    anyone know why ?
    thanks,
    jamie
    "Jamie Tsao" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I'm using weblogic 6.0 sp2, and it seems as though the war deployment isnot
    working. My war consists of jsps, images, and under the WEB-INF/classes
    directory, Struts classes (i.e. Form and Action classes). When I try torun
    a jsp, i get the following error :
    <Jul 30, 2001 11:48:10 AM PDT> <Error> <HTTP>
    <[WebAppServletContext(4655498,ati
    nera)] Root cause of ServletException
    javax.servlet.jsp.JspException: Exception creating bean of class
    com.atinera.log
    in.web.LoginForm: java.lang.ClassNotFoundException:
    com.atinera.login.web.LoginF
    orm
    But if you look in the war, that class is in there.
    What gives ?
    Thanks,
    Jamie
    Dimitri

  • Weblogic 6.1 SP2 hangs up at database command, PATCH needed!

    Hello,
    I use weblogic 6.1 SP2 on Windows and Solaris
    DB-Driver: Oracle Thin Driver for Oracle 9i
    Database OP System: Win2000
    My application runs fine. After some time (about 15.000 db operations)
    at load tests, the weblogic 6.1 server hangs up without an error message
    in the logs at a any desired database command.
    I use the database pool from weblogic.
    The database operations are made with the TX-Datasource.
    The main database operation is a call of an oracle stored
    procedure.
    I suppose, that the weblogic hangs up in a synchronized
    block of the pool, but the crash could also have an other reason.
    After the crash, the whole instance is dead and must be restarted.
    I can reconstruct the crash on windows and solaris.
    I always thought, weblogic is reliably?
    Is there any patch to fix this problem?
    I am very thankful for every help to fix this problem.
    Thank you in advance
    Markus

    Hi,
    here is the source code of the the stateless session bean (S1), which
    calles the oracle stored procedure.The commit or rollback is done in
    the main interface (stateless session bean with user managed
    transactions).
    java.sql.CallableStatement stmt=null;
    java.sql.Connection conn = null;
    try {
    javax.sql.DataSource ds =
    at.one.bmw.system.SystemConfig.getDataSource();
    conn=ds.getConnection();
    stmt=conn.prepareCall("{call routeChargingRecord(?,?,?,?,?,
    int i=1;
    stmt.setString(i++,seq_number);
    stmt.setInt(i++,custTypeID.intValue());
    stmt.setString(i++,msisdn.toString());
    stmt.setLong(i++,billing_serviceID.longValue());
    stmt.setLong(i++,serviceGroupID.longValue());
    stmt.setString(i++,transactionID);
    stmt.setInt(i++,typeID.intValue());
    stmt.setInt(i++,applicationID.intValue());
    stmt.setString(i++,gateway_number);
    stmt.setString(i++,smsc_serviceID);
    stmt.setString(i++,smsc_tarifID);
    stmt.setString(i++,desc);
    stmt.setString(i++,beneficiaries);
    stmt.setString(i++,attr0);
    stmt.setString(i++,attr1);
    stmt.setString(i++,attr2);
    stmt.setString(i++,attr3);
    stmt.setString(i++,deliveryNotes);
    int xx=stmt.executeUpdate();
    try { stmt.close();  } catch (Exception en) {}
    try { conn.close();  } catch (Exception eb) {}
    conn=null; stmt=null;
    } // end try
    catch (Exception e) {
    this.sessionContext.setRollbackOnly();
    try { stmt.close();  } catch (Exception en) {}
    try { conn.close();  } catch (Exception eb) {}
    throw new EJBAppException(msg+"\n"+e.getMessage());
    } // end catch
    Thank you for your help.
    "Sree Bodapati" <[email protected]> wrote in message news:<[email protected]>...
    Hi Markus,
    Can you please post the test code that can demonstrate the hang here.
    sree
    "Markus Häusler" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    I use weblogic 6.1 SP2 on Windows and Solaris
    DB-Driver: Oracle Thin Driver for Oracle 9i
    Database OP System: Win2000
    My application runs fine. After some time (about 15.000 db operations)
    at load tests, the weblogic 6.1 server hangs up without an error message
    in the logs at a any desired database command.
    I use the database pool from weblogic.
    The database operations are made with the TX-Datasource.
    The main database operation is a call of an oracle stored
    procedure.
    I suppose, that the weblogic hangs up in a synchronized
    block of the pool, but the crash could also have an other reason.
    After the crash, the whole instance is dead and must be restarted.
    I can reconstruct the crash on windows and solaris.
    I always thought, weblogic is reliably?
    Is there any patch to fix this problem?
    I am very thankful for every help to fix this problem.
    Thank you in advance
    Markus

  • WebLogic 6.1 SP2 stateful EJB handle serialization problem

    I try to serialize and later deserialize the handle of a stateful
    session bean in WebLogic 6.1 SP2. This works on the client, but not on
    the server. In WebLogic 6.1 SP1, it worked on both server and client.
    The test code:
    try {
    InitialContext context = new InitialContext();
    InfSessionHome sessionHome = (InfSessionHome)
    InfEJBUtil.getInfEJBHome
    (context, InfJNDINames.INFSESSION_EJBHOME,
    InfSessionHome.class);
    infSession1 = sessionHome.create();
    // serialize
    ObjectOutputStream objector = new ObjectOutputStream(byteStream);
    objector.writeObject(infSession1.getHandle());
    objector.flush();
    objector.close();
    byte[] ejbKeyBytes = byteStream.toByteArray();
    // deserialize
    ByteArrayInputStream byteInStream = new
    ByteArrayInputStream(ejbKeyBytes);
    ObjectInputStream objStream = new ObjectInputStream(byteInStream);
    Handle ejbHandle = (Handle) objStream.readObject();
    objStream.close();
    InfSession infSession2 = (InfSession) ejbHandle.getEJBObject();
    if (!infSession2.equals(infSession1)) {
    throw new IllegalStateException("not equal: " + infSession2);
    } catch (Exception e) {
    e.printStackTrace();
    I get the following stack trace in the readObject() call:
    java.io.InvalidClassException:
    weblogic.rmi.internal.LocalServerRefMissing no-arg constructor for
    class
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1221)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at weblogic.ejb20.internal.HandleImpl.readExternal(HandleImpl.java:89)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    I suppose that WebLogic uses a different handle on the server
    (LocalServerRef class, handle local to it's EJB) than on the client.
    I took the routine from Apache SOAP 2.2 StatefulEJBProvider. So I
    suppose that more people are running into the same problem.
    Does anybody know of a workaround?
    Tom

    Just a small addition/clarification to what Cameron said on serialization.
    - The no argument constructor is required in the first non-serializable class in the object hierarchy for de-serialization process. If your class extends form Object class(which has a no arg constructor), you need not have a no-arg constructor. refere to http://64.49.216.133/faq/view.jsp?EID=251942 for more details.
    - Also I suggest using the api
    isIdentical(...)
    instead of equals method in the code if you are trying to establish whether the two objects represent the same EJBObject or not
    - Rajeev
    Cameron Purdy <[email protected]> wrote in message news:[email protected]...
    A no-argument constructor is required for a class to be deserialized. It
    sounds like a BEA bug from the stack trace, but make sure you don't have
    something extra that you are serializing on something of yours that should
    be transient. (It's hard to imagine how, but you never know ...)
    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/
    "Tom Gerber" <[email protected]> wrote in message
    news:[email protected]...
    I try to serialize and later deserialize the handle of a stateful
    session bean in WebLogic 6.1 SP2. This works on the client, but not on
    the server. In WebLogic 6.1 SP1, it worked on both server and client.
    The test code:
    try {
    InitialContext context = new InitialContext();
    InfSessionHome sessionHome = (InfSessionHome)
    InfEJBUtil.getInfEJBHome
    (context, InfJNDINames.INFSESSION_EJBHOME,
    InfSessionHome.class);
    infSession1 = sessionHome.create();
    // serialize
    ObjectOutputStream objector = new ObjectOutputStream(byteStream);
    objector.writeObject(infSession1.getHandle());
    objector.flush();
    objector.close();
    byte[] ejbKeyBytes = byteStream.toByteArray();
    // deserialize
    ByteArrayInputStream byteInStream = new
    ByteArrayInputStream(ejbKeyBytes);
    ObjectInputStream objStream = new ObjectInputStream(byteInStream);
    Handle ejbHandle = (Handle) objStream.readObject();
    objStream.close();
    InfSession infSession2 = (InfSession) ejbHandle.getEJBObject();
    if (!infSession2.equals(infSession1)) {
    throw new IllegalStateException("not equal: " + infSession2);
    } catch (Exception e) {
    e.printStackTrace();
    I get the following stack trace in the readObject() call:
    java.io.InvalidClassException:
    weblogic.rmi.internal.LocalServerRefMissing no-arg constructor for
    class
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1221)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    atjava.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    atjava.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
    at java.lang.reflect.Method.invoke(Native Method)
    atjava.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    atweblogic.ejb20.internal.HandleImpl.readExternal(HandleImpl.java:89)
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    I suppose that WebLogic uses a different handle on the server
    (LocalServerRef class, handle local to it's EJB) than on the client.
    I took the routine from Apache SOAP 2.2 StatefulEJBProvider. So I
    suppose that more people are running into the same problem.
    Does anybody know of a workaround?
    Tom
    [att1.html]

Maybe you are looking for