Weblogic 10.3-  NPE from RemoteBusinessIntfProxy.getTargetMethod

I am migrating an application from oc4j to WLS 10.3. The application defines EJB3. From a j2se client, I do the following:
Hashtable env = new Hashtable();
env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
env.put( Context.SECURITY_PRINCIPAL, "weblogic" );
env.put( Context.SECURITY_CREDENTIALS, "weblogic" );
env.put(Context.PROVIDER_URL, "t3://localhost:7001");
Context initial = new InitialContext(env);
MyEJBRemote remote = (MyEJBRemote) initial.lookup("simple/myejbRemote");
remote.open();
However, I got the following NPE exception in runtime:
java.lang.NullPointerException
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:162)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
at $Proxy0.open(Unknown Source)
at demo.client.j2se.JobRequestSubmitorClient.queryRequestSummary(JobRequestSubmitorClient.java:245)
What might be the cause? How can I turn on trace in client/server side to get more information. Any help are appreciated. Thanks.

Here are some notes from a related CR, CR305208, that given insight to a work-around. Also consider looking at the known/resolved issues in 10.0, which discuss this as well:
[http://edocs.bea.com/wls/docs100/issues/known_resolved.html#wp1169024]
DIAGNOSIS:
EJB using type variables on class level is not supported.
RESOLUTION:
Problem was solved with a code fix to support generic types, especially type
variables on class level.
CHANGED BEHAVIOR:
As a result of this change, generic types can be used for bean class and
business/component interface of EJB. For example, the following EJB can be
deployed and invoked successfully:
public interface RootI<T> {
public T getObject();
public void updateObject(T object);
Business interface:
@Remote
public interface StatelessI extends RootI<String> {
Bean class:
@Stateless
public class StatelessSample implements StatelessI {
public String getObject() {
return null;
public void updateObject(String object) {
RECOMMENDED STYLE
Please note, under current mechanism of EJB code generation, the recommended
style to use generic types, is to define super class/interface with type
variables and make bean class or business/component interface parameterize it
like the example above. The type variables declared directly on class level
of bean class or business interface/componnent interface will be erased,
which can be deployed successfully only when bean class parameterizes
business interface with the upper bounds of the type parameter and no other
generic information involved. As a good design, we suggest not to declare
type variable on class level of bean class or business/component interface
directly. For example, the following EJB is not legal for Weblogic generic
support:
Business interface:
@Remote
public interface StatelessI<T> {
Bean class:
@Stateless
public class StatelessSample implements StatelessI<String> {
public String getObject() {
return null;
public void updateObject(String object) {
Because the type variable "T" on StatelessI has no upper bound explicitly
declared, the upper bound is Object. So the bean class StatelessSample must
parameterize StatelessI with Object like following:
public class StatelessSample implements StatelessI<Object> {
public Object getObject() {
return null;
public void updateObject(Object object) {
KNOWN ISSUE:
And, there will be problem when meeting all following conditions:
1. The business interface doesn't extend java.rmi.Remote.
2. The invocation of method is via remote proxy through RMI remote
call, and no generated stub on client side. The local invocation within one
JVM will succeed.
3. The remote call is via t3 protocol, not iiop protocol.
4. The method in business interface has generic information. I.e.
method has type parameters or generic type like List<String> as parameter
type, etc.
WORKAROUND FOR KNOWN ISSUE
It will be ok when meeting any of the following conditions:
1. The business interface extends java.rmi.Remote.
2. Put the generated stub on client side when the invocation of method is via
remote proxy through RMI remote call. The local invocation within one
JVM will succeed as well.
3. The remote call is via iiop protocol, not t3 protocol.
4. The method in business interface has no generic information. It will be ok
if the method only has generic info declared on class level of business
interface, and the type variable is parameterized with raw
type. For example:
Interface RootI < T > {
public void hello (T t ) ;
public &lt; S extends Comparable &gt; S testComp ( T t , S s ) ;
//Business interface
Interface StatelessI extends RootI < String > {
Though business interface doesn't extend Remote, whatever through remote call
or local call, the invocation on StatelessI.hello(String) will be ok. But
remote invocation on StatelessI.testComp() will fail when no generated stub
on client side.
Release note text:
The general issue is covered in Dante EJB docs at
http://edocs.bea.com/wls/docs100/ejb30/implementing.html#wp1205541
Known and resolved issues: EJBs
http://edocs.bea.com/wls/docs100/issues/known_resolved.html#wp1131925
EJBs with generic information fail when all of the following conditions are
met:
The business interface doesn't extend java.rmi.Remote.
The invocation of method is via remote proxy through RMI remote call, and
there is no generated stub on client side. The local invocation within one
JVM will succeed.
The remote call is via t3 protocol, not iiop protocol.
The method in the business interface has generic information; that is, type
parameters or a generic type like List<String> as a parameter type.
Workaround or Solution:
Make sure you fulfill any of the following conditions:
Write your business interface to extend java.rmi.Remote.
Put the generated stub on the client side when the invocation of method is
via remote proxy through a RMI remote call. The local invocation within one
JVM will succeed as well.
Make the remote call via the iiop protocol, not the t3 protocol.
Either do not use generic information in the business interface method, or
use only generic information declared on the class level of the business
interface with the type variable parameterized with raw type. For example:
Interface RootI&lt;T&gt; {
public void hello(T t);
public &lt;S extends Comparable&gt; S testComp(T t, S s);
//Business interface
Interface StatelessI extends RootI&lt;String&gt;{
Though the business interface doesn't extend Remote, whether through remote
call or local call, the invocation on StatelessI.hello(String) will work. But
remote invocation on StatelessI.testComp() will fail when there is no
generated stub on the client side.

Similar Messages

  • NPE from JMS Connection Object

    When I try to get the ClientID from a connection using JMX, I get a NPE from the weblogic.jms.frontend.FEConnectionRuntimeDelegate.getClientID(FEConnectionRuntimeDelegate.java:66).
              The following is the full stack trace.
              javax.management.RuntimeMBeanException: RuntimeException thrown by the getAttribute method of the DynamicMBean for the attribute ClientID
                   at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
                   at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
                   at javax.management.remote.rmi.RMIConnectionImpl_920_WLStub.getAttribute(Unknown Source)
                   at weblogic.management.remote.common.RMIConnectionWrapper$11.run(ClientProviderBase.java:498)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
                   at weblogic.security.Security.runAs(Security.java:61)
                   at weblogic.management.remote.common.RMIConnectionWrapper.getAttribute(ClientProviderBase.java:496)
                   at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:854)
                   at com.lordabbett.muni.sma.util.JMXClientCleanupListener.handleNotification(JMXClientCleanupListener.java:173)
                   at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.dispatchNotification(ClientNotifForwarder.java:496)
                   at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run(ClientNotifForwarder.java:462)
                   at com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor$1.run(ClientNotifForwarder.java:83)
              Caused by: javax.management.RuntimeMBeanException: MBean getAttribute failed: java.lang.NullPointerException
                   at weblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:527)
                   at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.getAttribute(DynamicMetaDataImpl.java:96)
                   at com.sun.jmx.mbeanserver.MetaDataImpl.getAttribute(MetaDataImpl.java:181)
                   at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:638)
                   at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:659)
                   at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:112)
                   at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:112)
                   at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:281)
                   at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$5.run(AuthenticatedSubjectInterceptor.java:192)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                   at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.getAttribute(AuthenticatedSubjectInterceptor.java:190)
                   at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:269)
                   at weblogic.management.mbeanservers.domainruntime.internal.ManagedMBeanServerConnection.getAttribute(ManagedMBeanServerConnection.java:280)
                   at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.getAttribute(FederatedMBeanServerInterceptor.java:227)
                   at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:112)
                   at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:112)
                   at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:281)
                   at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$5.run(AuthenticatedSubjectInterceptor.java:192)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                   at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.getAttribute(AuthenticatedSubjectInterceptor.java:190)
                   at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:269)
                   at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1385)
                   at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
                   at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
                   at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:597)
                   at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
                   at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
                   ... 12 more
              Caused by: java.lang.NullPointerException
                   at weblogic.jms.frontend.FEConnectionRuntimeDelegate.getClientID(FEConnectionRuntimeDelegate.java:66)
                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at weblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:499)
                   ... 40 more

    Can you give me the link for the management forum, since weblogic.developer.interest.management talks about a different topic and i could not find .jmx newgroup.
              I got the mbeanserver using the following method:
                   public static void initConnection(String hostname, String portString) throws IOException,
                             MalformedURLException {
                        String protocol = "t3";
                        Integer portInteger = Integer.valueOf(portString);
                        int port = portInteger.intValue();
                        String jndiroot = "/jndi/";
                        String mserver = "weblogic.management.mbeanservers.domainruntime";
                        logger.info("protocol="+protocol);
                        logger.info("hostname="+hostname);
                        logger.info("port="+port);
                        logger.info("jndiroot="+jndiroot);
                        logger.info("mserver="+mserver);
                        JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
                        Properties p = ApplicationResources.getResourceAsProperties(SmartPMConstants.SMARTPM_APPLICATION_RESOURCE);
                        String wluser = p.getProperty(SmartPMConstants.SMARTPM_WLUSER);
                        String wlpwd = p.getProperty(SmartPMConstants.SMARTPM_WLPWD);
                        Hashtable h = new Hashtable();
                        h.put(Context.SECURITY_PRINCIPAL, wluser);
                        h.put(Context.SECURITY_CREDENTIALS, wlpwd);
                        logger.info("user cred="+h);
                        h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
                        connector = JMXConnectorFactory.connect(serviceURL, h);
                        connection = connector.getMBeanServerConnection();
                   }

  • How to pull groups from more than one OU using weblogic "All Groups Filter" from AD.

    Hi,
    Please help me for pulling groups from more than one OU using weblogic "All Groups Filter" from AD.
    AD structure is:
    c001639domain.local
           ||
           ||
        OU=Security_Groups
                      ||
                      ||
                      >> OU=CORP_ECM---> n number of group
                      >> OU=CORP_hodata--> n number of group
                      >> OU=CORP_citrix--> n number of group
                      >> OU=CORP_driver --> n number of group
                      >> OU=CORP_temp --> n number of group
    Requirement is i want to filter groups from OU=CORP_ECM and OU=CORP_hodata.
    Thanks,
    Jagan.

    I used below option but its not working getting zero groups.
    (&(objectClass=group)(|(ou=CORP_ECM,dc=Domain,dc=com)(ou=CORP_hodata,dc=c001639domain,dc=local)))

  • NPE from LoggerUtil in 4.0.92

    Hi,
    I'm trying to upgrade our code from 3.x to 4.x, but when the code tries to open the environment, we get an NPE from LoggerUtils on the logger.getHandlers() line (line 164). Our application runs in the Resin application server, which has its own logging implementation, it looks like the Logger instance returned by Resin is returning null for the getHandlers call, causing the NPE in LoggerUtils. Any chance you could update this to check for null ?
    Thanks
    Simon

    Simon,
    I've opened SR #18277 for this, and we'll put in the check as you suggest, and will make it available in the next patch release.
    Email me at linda dot q dot lee at o__ .com if you want the official source code change, because there are a few more places where we call java.util.logging.Logger.getHandlers() and expect it to obey the contract that it returns an empty array rather than a null array. It will also be interesting to find out if Resin behaves differently in any other ways.
    Regards,
    Linda

  • Remote debugging the Oracle weblogic 10.3.3 from eclipse

    As I see the startWeblogic.cml, I am finding it totally different frim the earlier scripts. I need to do remote debugging of the weblogic 10.3.3 from eclipse. Can someone guide me. Here below is the script of startweblogic.cmd I am finding on the oracle weblogic server. Need help as I need to do the remote debugging.
    1. @rem *************************************************************************
    2. @rem This script is used to set up your environment for development with
    3. @rem WebLogic Server. It sets the following variables:
    4. @rem
    5. @rem WL_HOME - The root directory of your WebLogic installation
    6. @rem JAVA_HOME - Location of the version of Java used to start WebLogic
    7. @rem Server. This variable must point to the root directory of a
    8. @rem JDK installation and will be set for you by the installer.
    9. @rem See the WebLogic platform support page
    10. @rem (@DOCSHOST/platforms/index.html) for an up-to-date list of
    11. @rem supported JVMs on Windows NT.
    12. @rem PATH - Adds the JDK and WebLogic directories to the system path.
    13. @rem CLASSPATH - Adds the JDK and WebLogic jars to the classpath.
    14. @rem
    15. @rem Other variables that setWLSEnv takes are:
    16. @rem
    17. @rem PRE_CLASSPATH - Path style variable to be added to the beginning of the
    18. @rem CLASSPATH
    19. @rem POST_CLASSPATH - Path style variable to be added to the end of the
    20. @rem CLASSPATH
    21. @rem PRE_PATH - Path style variable to be added to the beginning of the
    22. @rem PATH
    23. @rem POST_PATH - Path style variable to be added to the end of the PATH
    24. @rem
    25. @rem When setting these variables below, please use short file names(8.3).
    26. @rem To display short (MS-DOS) filenames, use "dir /x". File names with
    27. @rem spaces will break this script.
    28. @rem
    29. @rem jDriver for Oracle users: This script assumes that native libraries
    30. @rem required for jDriver for Oracle have been installed in the proper
    31. @rem location and that your system PATH variable has been set appropriately.
    32. @rem
    33. @rem For additional information, refer to the WebLogic Server Administration
    34. @rem Guide (@DOCSWEBROOT/adminguide/startstop.html).
    35. @rem *************************************************************************
    36. @echo off
    37.
    38. @rem Set user-defined variables.
    39. set WL_HOME=C:\bea\wlserver_10.3
    40. call "%WL_HOME%\common\bin\commEnv.cmd"
    41.
    42. @rem Check that the WebLogic classes are where we expect them to be
    43. @if exist "%WL_HOME%\server\lib\weblogic.jar" goto checkJava
    44. @echo.
    45. @echo The WebLogic Server wasn't found in directory %WL_HOME%\server.
    46. @echo Please edit the setWLSEnv.cmd script so that the WL_HOME
    47. @echo variable points to the WebLogic installation directory.
    48. @echo Your environment has not been set.
    49. @goto finish
    50.
    51. @rem Check that java is where we expect it to be
    52. :checkJava
    53. @if exist "%JAVA_HOME%\bin\java.exe" goto setWLSEnv
    54. @echo.
    55. @echo The JDK wasn't found in directory %JAVA_HOME%.
    56. @echo Please edit the setWLSEnv.cmd script so that the JAVA_HOME
    57. @echo variable points to the location of your JDK.
    58. @echo Your environment has not been set.
    59. @goto finish
    60.
    61. :setWLSEnv
    62. set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
    63.
    64. @rem Import extended environment
    65.
    66. if exist extEnv.cmd call extEnv.cmd
    67. if not "%EXT_PRE_CLASSPATH%" == "" set CLASSPATH=%EXT_PRE_CLASSPATH%;%CLASSPATH%
    68. if not "%EXT_POST_CLASSPATH%" == "" set CLASSPATH=%CLASSPATH%;%EXT_POST_CLASSPATH%
    69. if not "%EXT_PRE_PATH%" == "" set PATH=%EXT_PRE_PATH%;%PATH%
    70. if not "%EXT_POST_PATH%" == "" set PATH=%PATH%;%EXT_POST_PATH%
    71.
    72. @rem Get PRE and POST environment
    73. if not "%PRE_CLASSPATH%" == "" set CLASSPATH=%PRE_CLASSPATH%;%CLASSPATH%
    74. if not "%POST_CLASSPATH%" == "" set CLASSPATH=%CLASSPATH%;%POST_CLASSPATH%
    75. if not "%PRE_PATH%" == "" set PATH=%PRE_PATH%;%PATH%
    76. if not "%POST_PATH%" == "" set PATH=%PATH%;%POST_PATH%
    77.
    78. @echo.
    79. @echo CLASSPATH=%CLASSPATH%
    80. @echo.
    81. @echo PATH=%PATH%
    82. @echo.
    83. @echo Your environment has been set.
    84.
    85. :finish

    this Running Weblogic Server 10.3.3 in Debug  mode gentleman seems to have found the solution.
    if you create a server inside Eclipse, you have the menu option "start in debug mode" who should do the job for you

  • [svn] 650: Prevent potential NPEs from wait' ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread .

    Revision: 650
    Author: [email protected]
    Date: 2008-02-25 16:55:13 -0800 (Mon, 25 Feb 2008)
    Log Message:
    Prevent potential NPEs from wait'ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread.
    Bugs: BLZ-65 - Long-polling clients trigger NPE on server shutdown.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-65
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/messaging/endpoints/BasePollingHTTPEndpoint.java

    Hi,
    Looks like you're using BDB, not BDB JE, and this is the BDB JE forum. Could you please repost here?:
    Berkeley DB
    Thanks,
    mark

  • Issue with deploying EAR to Weblogic 10.3.4 from STS

    Hi,
    I am using Spring Source Tool 2.6 as the IDE. While publishing the EAR to weblogic from STS, it is not happening. It doesnt give any error too. When I check from the admin console under deployments it will not be found. However, I am able to deploy the same ear file from admin console without any issue. Am I missing some thing while configuring the domain? Is there any work around for this? (Note: I am creating the domain by selecting the default options in dev environment).
    Thanks,
    Vishnu

    There appears to be an issue with tooling versions for Oracle tools and underlying eclispe. see following
    http://forum.springsource.org/showthread.php?104597-STS-2.6.0-M2-does-not-allow-adding-Weblogic-Servers

  • Deploy to Weblogic 10.3.3 from Jdeveloper 11.1.2.0.0

    Hi All
    Currently I deploy my project from JDev11G version 11.1.1.0.2 to Oracle Weblogic 10.3.3.
    In the deployment, I will create JAR, WAR and EAR File and deploy to weblogic.
    But now when I'm using JDev11G version 11.1.2.0.0 and deploy to Orracle Weblogic 10.3.3, It's failed !
    Anything wrong?
    And what is MAR File in JDev11G 11.1.2.0.0?
    TQ for your helps
    Regards,
    Saiful

    TQ Frank,
    Now i just want to know how to deploy using 11G
    Before this what i do is:-
    1. Create Jar file
    2. Create War File
    3. Create Ear file
    4. Deploy to weblogic server
    Now using 11G, i try the same step but return this error:-
    [05:57:41 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'RESEARCH_V2-ViewController-context-root'
    [05:57:41 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@328831112[app:research14092011b module:RESEARCH_V2-ViewController-context-root path:/RESEARCH_V2-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false]
    [05:57:41 PM] See server logs or server console for more details.
    [05:57:41 PM] weblogic.application.ModuleException: Failed to load webapp: 'RESEARCH_V2-ViewController-context-root'
    [05:57:41 PM] #### Deployment incomplete. ####
    [05:57:41 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    I'm confuse where to use MAR File?
    Anyone can help me.
    TQ
    Regards,
    Saiful

  • Upgrading Weblogic server to move from jdeveloper 11.1.1.1.0 to 11.1.1.4.0

    Hello, I would need clear direction to what I should do to upgrade my target weblogic server when I move my development environment from jdeveloper 11.1.1.1.0 to 11.1.1.4.0
    Initial ADF project was developed with jdeveloper 11.1.1.1.0 and deployed on a WLS 10.3.0
    Now we are upgrating the application and we decided to move the project to jdeveloper 11.1.1.1.4
    I need help on what I should upgrade on the target WLS server.
    How do we move from WLS 10.3.0 to WLS 10.3.4?
    Is it a reinstall or a upgrade? How do we upgrade?
    And what about just upgrating the ADF run time? Is it the way to go?
    At following link we see
    http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html there is a Application development runtime is it the runtime that we install on the server or not?
    I am confused if the ADF run time is tied with the WLS version or not, can someone give me a clear description of what is the ADF Runtime and how we upgrade it on the servers? Any Oracle documentation describing this process that I can provide to my server administrators?
    At the end what is the best practice to upgrade the WLS servers when you would lilke to move like me from an older version of jdeveloper to a newer version. is there an Oracle document describing the steps to be done?
    Thanks

    I'll echo Timo's question - why upgrade to 11.1.1.4 and not to the latest and greatest 11.1.1.6 (released yesterday)?
    Upgrading to an older version basically means that you are setting yourself for another upgrade later on - so why not enjoy all the bug fixes and new features of the newer versions?
    In terms of the upgrade process - if you look in the documentation tab of JDeveloper you'll see the book "Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF" which gives the steps you can follow.
    For 11.1.1.6 the book is here:
    http://docs.oracle.com/cd/E23943_01/upgrade.1111/e10127/toc.htm
    In the same documentation tab you'll find the certification matrix that explains which ADF version works with which WLS version:
    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html

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

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

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

  • How to start weblogic in debug mode from BEA WebLogic Eclipse plugin

    I have a problem making weblogic work with eclipse3.1. I am using a BEA WebLogic plugin to handle weblogic (start/stop) from eclipse. However I want to debug my application and I am unable to figure out a way to start my weblogic in debug mode like we do in WSAD. I tried using some other plugins also but no luck. Please suggest me a plugin to handle this or any other way of debugging my application from eclipse. I am using weblogic 8.1.

    Hi,
    Dev Environment
    weblogic eclipse plugin 2.0 beta
    weblogic server 8.1
    eclipse 3.1.1
    Created a server that i would like to deploy my EJB so that i can put break points on my EJB in eclipse.
    How do i do it?
    I managed to deploy an ear (containing the ejb) directly to the weblogic installed folder and it deployed the ejb. But the breakpoint set in eclipse is not triggered. Of course in this case as weblogic server is running the .ear file deployed manually in the file system.
    Any help is appreciated.
    Mel

  • Unable to start WebLogic 5.1 sp4 from the Console

    I installed WebLogic Server 5.1 Service Pack 4, as described by the
    release_notes_sp4.html document. I can successfully do the following using
    NT Workstation 4.0:
    1. Start weblogic from the command line using startWebLogic.cmd
    2. Start weblogic from the Start | Programs | WebLogic 5.1.0 | WebLogic
    Server menu.
    I can also start the console from the command line using startConsole.cmd.
    But, from the console, when I start weblogic, but it is only 5.1.0, not
    5.1.0 sp4
    When I start the console from the Start | Programs | WebLogic 5.1.0 |
    WebLogic Console menu and then try to start weblogic , I get the following
    error:
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
    weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Any help would be appreciated.

    I am facing the same problem here Steven. Did you get any solution for that?
    Thanks
    Vishwajeet Lohakarey
    Yash Technologies Inc.
    [email protected]
    Steven R. Baturin <[email protected]> wrote in message
    news:[email protected]...
    I installed WebLogic Server 5.1 Service Pack 4, as described by the
    release_notes_sp4.html document. I can successfully do the followingusing
    NT Workstation 4.0:
    1. Start weblogic from the command line using startWebLogic.cmd
    2. Start weblogic from the Start | Programs | WebLogic 5.1.0 | WebLogic
    Server menu.
    I can also start the console from the command line using startConsole.cmd.
    But, from the console, when I start weblogic, but it is only 5.1.0, not
    5.1.0 sp4
    When I start the console from the Start | Programs | WebLogic 5.1.0 |
    WebLogic Console menu and then try to start weblogic , I get the following
    error:
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
    weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Any help would be appreciated.

  • Weblogic Portal ( Server ) upgrade from 10.0 MP1 to 10.3.5

    HI,
    We are currently attempting to upgrade WebLogic Portal Server in development environment and having problems when i run the installer. ( WLS1035_upgrade_generic.jar ).
    I'm attempting this upgrade in Windows 7 professional environment ( 64 bit )  and it is a Windows VM with in a MAC OS X.
    Problem  : At the screen where it asks to Choose Middleware Home Type  ---> click next   --->  it shows error message saying Product is not Installed.
    Environment   :    Upgrade of WebLogic 10.0 MP1 portal server ( JDK 1.5_30 )  on a Windows Virtual Machine running using Parallels Desktop software
    Existing attempts  :    
    I went through the forums and tried
    -  Oracle's Minimum Technical Requirements says that i need to have JDK 1.6_24 and have installed JDK  1.6.0_35. ( jdk-6u35-windows-x64.exe ) .
       I'm currently  running the setup from command prompt using this version of Java.
    -  Tried using BEA WebLogic smart upgrade. But it is not recognising our Oracle Support Login  credentials. I tried doing this in offline mode having the above .jar and .zip  file patch in the correct directory but its not recognising.
    Weblogic home directory is c:\bea and it has got all the directories inside it  -   i don't understand the reason why installer is not able to identify the existing WLS installation.
    I would appreciate help around this as i'm not sure what else to try ?
    Cheers,

    I am not sure what you are doing is supported. You cannot upgrade a 10.0 to a 10.3.5 the way you are trying. The updater may be used to upgrade froma 10.3.x to 10.3.5 i believe. Check this out Upgrading WebLogic Server 9.x or 10.0 Application Environments to 10.3.5

  • NPE from AutoRegisterActionServlet

    Not sure if this is a Workshop or Server-related question, but here goes.
    In the log file below, it appears that perhaps a module in our enterprise app has undeployed itself. Does this cause, or is it caused by, the deserialization error reported next? Is it possible to know which data failed to deserialize?
    This is 8.1 SP2.
    Thanks for any suggestions.
    kinman
    <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=5861640,name=hng,context-path=/hng)] Servlet failed with Exception
    java.lang.NullPointerException
    at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.ensureModuleRegistered(AutoRegisterActionServlet.java:619)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:141)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1304)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1320)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1200)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1094)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:651)
    at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
    at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:307)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1304)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1320)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1200)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1094)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:651)
    at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
    at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:307)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1304)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1320)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1200)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:638)
    at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
    at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
    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)
    >
    ####<Nov 10, 2004 7:09:38 PM EST> <Error> <HTTP Session> <CWCCDG-ATLAS> <ConsumerServer2> <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028> <Could not deserialize session data.
    java.lang.ClassNotFoundException: controls.catalog.CatalogControl: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that cluster
    at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:321)
    at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:236)
    at weblogic.common.internal.ProxyClassResolver.resolveProxyClass(ProxyClassResolver.java:31)
    at weblogic.common.internal.ProxyClassResolver.resolveProxyClass(ProxyClassResolver.java:22)
    at weblogic.common.internal.WLObjectInputStream.resolveProxyClass(WLObjectInputStream.java:53)
    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1469)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at weblogic.servlet.internal.AttributeWrapper.convertBytesToObject(AttributeWrapper.java:173)
    at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:114)
    at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
    at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
    at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.getScopedSessionAttr(ScopedServletUtils.java:328)
    at com.bea.wlw.netui.pageflow.PageFlowUtils.getCurrentActionResolver(PageFlowUtils.java:399)
    at com.bea.wlw.netui.pageflow.PageFlowUtils.getCurrentPageFlow(PageFlowUtils.java:387)
    at com.bea.wlw.netui.pageflow.util.PageflowTagUtils.isAction(PageflowTagUtils.java:245)
    at com.bea.wlw.netui.tags.html.Form.lookup(Form.java:910)
    at com.bea.wlw.netui.tags.html.Form.doStartTag(Form.java:555)
    at jsp_servlet._resources._jsp.__header._jspService(header.jsp:62)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
    at jsp_servlet._resources._jsp.__basic_45_template._jspService(basic-template.jsp:38)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
    at com.bea.wlw.netui.tags.template.Template.doEndTag(Template.java:269)
    at jsp_servlet._resources._jsp.__error._jspService(error.jsp:37)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:307)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:375)
    at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3913)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
    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)
    >
    ####<Nov 10, 2004 7:09:38 PM EST> <Error> <Kernel> <CWCCDG-ATLAS> <ConsumerServer2> <ExecuteThread: '10' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-000802> <ExecuteRequest failed
    java.lang.IllegalStateException: Not in application context.
    java.lang.IllegalStateException: Not in application context
    at com.bea.p13n.management.ApplicationHelper.getApplicationName(ApplicationHelper.java:134)
    at com.bea.p13n.entitlements.servlets.jsp.taglib.IsUserInRoleTag.<init>(IsUserInRoleTag.java:56)
    at jsp_servlet._resources._jsp.__header._jspService(header.jsp:78)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
    at jsp_servlet._resources._jsp.__basic_45_template._jspService(basic-template.jsp:38)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
    at com.bea.wlw.netui.tags.template.Template.doEndTag(Template.java:269)
    at jsp_servlet._resources._jsp.__error._jspService(error.jsp:37)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:307)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:375)
    at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3913)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
    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've also seen this problem using Vignette 7.3.0.4 (running on BEA WLS 8.1sp2), generated from logging attempts.

  • Ear deploy failure with webservice in weblogic 9.2 build from weblogic 8.1

    I get the below exception when I try to deploy the ear file that contains the webservice modules in weblogic 9.2. The ear was working fine in weblogic 8.1 which is build from this version. As part of migrating to the 9.2 I tried to deploy the ear that is build from 8.1. I am struct at this point. Pls help.
    ####<17-Dec-2008 21:03:35 o'clock GMT> <Error> <Deployer> <LDNCTIWA046436> <BatchServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1229547815831> <BEA-149205> <Failed to initialize the application 'exwebservices' due to error java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean.
    java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)
         at weblogic.ejb.container.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.java:1415)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:326)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Thanks David and weblogicRocks..
    David,
    I have installed the workshop also during installation. Actually I have searched for the class which is missing from the weblogic 9.2 installation folder. The missing class is is in different package path in weblogic 9.2 (knex81.jar) as shown below. Also, this class is generated by workshop while building in 8.1. So, I think I have to rebuild the work file in 9.2 to avoid referring to this class.
    Missing Class location (weblogic 8.1) (knex.jar): com/bea/wlw/runtime/core/bean/SLSBContainerBean
    Missing Class location (weblogic 9.2) (knex81.jar): com/bea/wlw/knex/runtime/core/bean/SLSBContainerBean
    weblogicRocks,
    I saw in the weblogic site that the webservices built from 8.1 will still work in 9.2 with out the need for changing the code. Pls, let me know whether I need to rebuild them on 9.2. If yes, I have used .jws files(sample class definition below) for my webservices and I came to know that in 9.2 new jws annotations are added, do I need to change my source code to add any new annotations so as to work in 9.2? Also, I have used wlwBuildTask using Ant to build the code in 8.1 and this task is not available in 9.2. Let me know what all I need to change for webservices created from workshop to migrate to 9.2. I am really struggling in resolving the issues as it is very urgent for me. Appreciate you quick response.
    Below is my .jws webserice class definition.
    public class MyWebService implements com.bea.jws.WebService
    private String reqImpl;
    * @common:operation
    * @jws:conversation phase="none"
    public String submitRequest(String var)
    <Method Logic>
    }

Maybe you are looking for