Classpath configuration in weblogic 11g

Where can we set the classpath order in weblogic 11g? By default the ear loads the classes from the jar files in lib folder. But we have some classes which have same names in two jar files. We need to set the order of jar file loading so that we can configure classes from which jar file should be loaded first? Does anyone know if we can configure this in server or in any configuration file?
thanks,
Gitanjali.

Hi Gitanjali,
You can use ClassLoader-filtering feature of WebLogic...
by using "prefer-web-inf-classes" tag in "weblogic.xml" at WAR Level
or
by using "prefer-application-packages" tag in "weblogic-application.xml" in your EAR Level.
for more informations on it you can refer to :
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html#wp1082452
And
http://m-button.blogspot.com/2008/08/how-to-use-weblogic-filteringclassloade.html
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com/2009/08/15/weblogic-10-3-1-new-feature/ (Resource Filtering)

Similar Messages

  • WebLogic 11g EAR EJB Classpath and class loaders

    All,
    I have been having issues migrating Spring based EJB applications from OC4J to WebLogic 11g (10.3.1). I have been in communication with Oracle who has suggested a work around however I am keen to see if anyone else can suggest a solution.
    The application is dependant on stateless session EJB beans that communicate with a Spring managed service tier to perform the business logic and database access. PitchFork is used to inject the Spring managers into the EJB’s using the spring-ejb-jar.xml configuration file. Note originally I was using the SpringBeanAutowiringInterceptor however I could not get this to work. See WebLogic 11g and Spring beens injected into EJB for details.
    When the application is deployed packaging all the dependant jars within the APP-INF\lib folder I get a verity of errors from the following InvalidClassException, NoSuchMethodError, AbstractMethodError and IllegalArgumentException. I am using Spring 2.5.3 to match the supported WebLogic version. Note within the EAR application.xml the library-directory is set to APP-INF/lib. The issue appears to be Spring, PitchFork, commons-logging and aspectj libraries are being loaded form WebLogic and do not have visibility on jars within the application or have been modified when bundled for WebLogic. An example of this is the PitchFork jar within WebLogic has been changed excluding the spi package resulting in java.lang.ClassNotFoundException: org.springframework.jee.spi.PitchforkUtilsImpl errors.
    Moving the jars to the domain library path does not resolve any of the issues. I have been unable to successfully deploy the application picking up the application jars using the prefer-application-packages configuration.
    Oracle has advised me to deploy the libraries into the WebLogic system classpath by modifying the startWebLogic command to load the libraries into the classpath. I am concerned that modifying the system classpath will result in an unstable WebLogic server as I will be replacing modified jar files packages with WebLogic (such as PitchFork). This will also limit the applications that can be deployed within the server as each application must use the same libraries and versions (as the application ibraries are leing ignored).
    Has anyone else hit this issue and corrected it? Can anyone think of an alternative solution?
    Regards
    Neil

    Hi,
    I am in the process of updating the tracking bug# 331569 with copies of the eclipse EAR/WAR projects and the EAR for these scenarios. Here are some details on how I got past the 2nd CCE on the org.eclipse.persistence.jpa.PersistenceProvider class (not the javax one)
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=331569
    Essentially an SE persistence unit running both JPA 2.0 api and the 2.0 XSD schema work fine. I will next retest the EE case with variations of the 3 types of injection on the SSB or Servlet.
    Update: There are 3 (possibly 4) issues here (all of these may become obsolete when the next WLS version ships)Initially I got the same 2.0 schema error and the ClassCastException on org.eclipse.persistence.jpa.PersistenceProvider
    It turns out that my import of the 2 eclipse projects from my bug # 296271 for WebLogic 10.3.2.0 lost their facets(specifically the dynamic web facet) because I associated them with a different WebLogic 10.3.3.0. - this caused the CCE I was experiencing like Sri.
    Anyways, after creating an EAR/Web project combination from scratch in eclipse associated with the 10.3.3.0 instance - I predeployed/deployed/ran fine - even with the 2.0 schema - in SE bootstrap mode (no EE yet).
    Reproduction Procedure:
    redoing project from scratch as I noticed that the war was not at the root of the ear - it was a jar in the app-inf/lib dir - my imported eclipse project was not referenced correctly as a web module facet- create empty EAR and WAR project with references
    - download and open my EAR and WAR project code from bug # 296271
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=296271
    - do essentially all the steps in the page below (I paraphrase for re-verification)
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
    - copy applicationService, entity and FrontController servlet code into new projects
    - create persistence.xml and MANIFEST.MF manifest in src\META-INF
    - update manifest
    Class-Path: APP-INF/lib/eclipselink.jar
    APP-INF/lib/javax.persistence_2.0.0.v200911041116.jar
    - copy both javax.persistence 2.0 and eclipselink 2.x jars to APP-INF/lib
    - change ordering of WebLogic library modules classpath reference (javax.persistence 1.0) to ear reference (2.0 version)
    - update web.xml with servlet tags
    - update weblogic.xml with new context root
    - make the persistence unit name the same in persistence.xml and ApplicationManagedService
    - update weblogic-application.xml with prefer-application-packages overrides
    <wls:prefer-application-packages>
    <wls:package-name>javax.persistence.*</wls:package-name>
    <wls:package-name>org.eclipse.persistence.*</wls:package-name>
    </wls:prefer-application-packages>
    - enable server redirect logging
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    - start WebLogic 10.3.3.0
    - deploy (run on) server from eclipse or export ear to auto deploy directory
    1) JPA 2.0 XSD usage on 10.3.3.0
    - I reproduced this issue with a bad EAR
    - was able to use the 2.0 schema within the WAR-only application managed EAR
    persistence.xml<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
    <!-- persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"-->
    <persistence-unit name="example2" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>localJTA</jta-data-source>
    <class>org.eclipse.persistence.example.business.Cell</class>
    <shared-cache-mode>NONE</shared-cache-mode>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.logging.level" value="FINEST"/>
    <property name="eclipselink.target-database" value="Derby"/>
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    <!-- property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
    <property name="javax.persistence.jdbc.url" value="jdbc:derby://127.0.0.1:1527/dataparallel;create=true"/>
    <property name="javax.persistence.jdbc.user" value="APP"/>
    <property name="javax.persistence.jdbc.password" value="APP"/-->
    <!-- turn off DDL generation after the model is stable -->
    <!-- property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
    <property name="eclipselink.ddl-generation.output-mode" value="both"/-->
    </properties>
    </persistence-unit>
    </persistence>
    2) CCE on JPA provider implementation class
    Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit example2: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider
    - I reproduced and fixed this one (was Eclipse project facet issue) - EAR was wrong
    - was able to run JPA 2.0 code fine on an SE PU (predeploy/deploy together)
    - EE injection should not work but I will post an example EAR anyway
    log[EL Example]: enterprise: JPA 2.0 Metamodel: MetamodelImpl@56287508 [ 3 Types: , 1 ManagedTypes: , 1 EntityTypes: , 0 MappedSuperclassTypes: , 0 EmbeddableTypes: ]
    3) CCE on JPA spec interface class
    - I could not reproduce this one
    Re: WebLogic 11g EAR EJB Classpath and class loaders
    Error processing persistence unit PT of module pt: Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit PT: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider
    4) CCE on fallback Kodo JPA provider (if an invalid say 2.1 JPA XSD schema is referenced)
    java.lang.ClassCastException: kodo.persistence.PersistenceProviderImpl
    at javax.persistence.Persistence.findAllProviders(Persistence.java:186)
    java.lang.NoSuchMethodError: javax/persistence/EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;
    - reproduced by using the 1.0 javax.persistence jar (but named as the 2.0 one in APP-INF/lib)
    - fixed by using either the 1.0 or 2.0 JPA XSD schema and using the correct 2.0 spec jar
    thank you
    /michael

  • WebLogic 11g (JDeveloper11g) Deployment Configuration

    Hello,
    I developed a Dashboard application using Fusion technology within JDeveloper 11g and Oracle Database Express 10g for not-for profit organization that will track all their global IT Assets. The application look great. I also completed configuration of Oracle WebLogic 11g and deploy the Application from EAR file.
    The Problem
    After completing the deployment, the application work pretty well if the application is not removed from JDeveloper11g. Whe I decided to removed the application from JDeveloper 11g, I was not able to view the application when I run the WebLogic 11g Application Server.
    The configuration deployment in Jdeveloper doesn't go to the process of configuring the following as it is done in Jdeveloper 11g handbook:
    cannection name, connection type: weblogic, authentication, configuration, test, finish
    The Solution I am looking for:
    I am looking to configure the EAR file and remove the source code from the computer so I do not give out the source code. Is this possible with JDeveloper 11.1.1.2.0? or do I need another version of JDeveloper?

    Hi
    From JDeveloper IDE, you can deploy your application or project to any Application Server OR as an EAR or WAR file. Any web application can be deployed as WAR file. This war file will be created under deploy folder of your project within the project source folder. But if you have application and this has multiple projects, then at application level, you can choose deploy and select as EAR. This will create .EAR file under deploy folder of your application. This is how its done most of the times. During development, we deploy directly to the app server configured with JDeveloper. Later on to deploy to any other application server, you create .EAR or .WAR or .JAR from JDeveloper. Then deploy these modules on external appliacation servers. There is no need for your source code or any stuff.
    Thanks
    Ravi Jegga

  • After new weblogic domain configuration with oim 11g, not able to login

    After new weblogic domain configuration with oim 11g, not able to login for the frist time as xelsysadm.
    it says invalid sign in. and in logs it says password is invalid.
    Please help me in asap...

    Thanks Pallavi for the effort. I tried commenting out, its still the same. It do not throw exception this time. However, It tells me that the recon event is completed and linked to user. When I go to user's profile, I dont see the resource provisioned.
    Also,
    The Account ID in recon manager of Web Console and the Account ID that is stored in the tables, doesn't match.
    I wrote a custom code to fetch account and user details and here is the output,
    User Key : 13 -- has Login Id : USER_CS
    Account with account key : 49 is with user key : [USER_CS]
    Getting Account Data......
    {UD_TEST_1P_EMPLOYEENUMBER=1567, UD_TEST_1P_NAME=Kim1}
    However the Account Id in recon manager is : 91
    This seems fine.
    Doesn't this mean, the account is reconciled successfully?
    The problem is that, I am not able to see this resource in User's resource profile.
    Edited by: Shashi kiran on Apr 18, 2013 3:56 PM

  • Error while deploying web-determinations in 10gR3 & weblogic 11g

    Hi,
    I am installing OPA 10.0.1 for configuring Siebel connector, for this on Linux I am deploying web-determinations & determination-server on 10gR3.
    I was able to successfully deploy determination-server and I am facing error while deploying web-determinations
    I am facing below error when accessing web-determinations URL after deploying in 10gR3 ( 10.1.3.3 ).
    ===================
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details
    ===================
    No error is being logged in while application logs.
    I also tried deploying in weblogic 11g (10.3.1) and I have below error ,
    ===================
    [HTTP:101216]Servlet: "WebDeterminationsServlet" failed to preload on startup in Web application: "web-determinations.war". com.oracle.determinations.interview.engine.exceptions.EngineConfigurationException: No rulebase directory specified at com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:49) at com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:91) at com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:34) at com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19) at com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:163) at com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91) at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1913) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1887) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1805) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3041) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1374) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:40) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    =====================
    Pls let us know any configuration needs to be done.
    Pls advise.

    Hey Suni,
    It appears that there is a section missing out of the current installation guide for Web Determinations. The reason you're getting that error is because you are deploying to application to WebLogic which doesn't expand the war by default so you need to configure the rulebase loader. Before you add proceed with the steps in the install guide you need to:
    # Unpack the web-determinations.war file
    # Copy the rulebases you wish to install to <webroot>/WEB-INF/classes/rulebases
    # Edit the following setting in the application.properties file (<webroot>/WEB-INF/classes/configuration):
    load.rulebase.from.classpath =true
    rulebase.path                    =rulebases# Repack the war file
    # Proceed with the installation steps as set out in the installation guide
    I'll have the installation guide fixed and updated as soon as possible.
    Thanks,
    Kristy

  • WebLogic 11g and Spring beens injected into EJB

    All,
    I am getting an error injecting spring managed beans into EJB's within WebLogic 11g. I am using an interceptor extending the SpringBeanAutowiringInterceptor to set the context name by overriding the getBeanFactoryLocatorKey method. This is configured within the ejb-jar.xml file as an interceptor-binding for all ejb's. The beanRefContext.xml is in the root of the ejb jar and on the class path.
    The application deploys however when I can the remote ejb interface the following error occurs. The remote interface and model passed on the method call are deployed within a ejb-client jar file that within both the ejb and web applications class path. The ejb and web app are deployed separately i.e. the web app is deployed as a war out with the ejb ear.
    Does anyone have an idea on what is causing this? I suspect it is something to do with the class loaders / classpath and where the sping managed context is being loaded from. The Spring jars are deployed within the root of the ear and referenced within the Class-Path manifest.
    Regards
    Neil
    javax.ejb.EJBException: A error occurred the server; nested exception is:
         weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ]; nested exception is: java.rmi.ServerError: A error occurred the server; nested exception is:
         weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ]
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:112)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:91)
         at $Proxy212.validatePostcode(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy213.validatePostcode(Unknown Source)
         at sandpit.web.PostcodeValidationController.onSubmit(PostcodeValidationController.java:59)
         at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
         at org.springframework.web.servlet.mvc.CancellableFormController.processFormSubmission(CancellableFormController.java:140)
         at org.springframework.web.servlet.mvc.AbstractFormController.handleInvalidSubmit(AbstractFormController.java:671)
         at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:272)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.rmi.ServerError: A error occurred the server; nested exception is:
         weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ]
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:220)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at sandpit.ejb.address.AddressEJB_vk8fj2_AddressEJBImpl_1031_WLStub.validatePostcode(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:73)
         ... 36 more
    Caused by: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ]
         at weblogic.rmi.internal.ServerRequest.unmarshalThrowable(ServerRequest.java:357)
         at weblogic.rmi.internal.ServerRequest.getThrowable(ServerRequest.java:62)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:203)
         ... 44 more
    Caused by: java.io.InvalidClassException: org.springframework.beans.BeansException; local class incompatible: stream classdesc serialVersionUID = 5951866628951717299, local class serialVersionUID = -2725566157126749441
         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
         at weblogic.rmi.internal.ServerRequest.unmarshalThrowable(ServerRequest.java:352)
         ... 46 more

    After some tinkering with this I am now getting a different error. I believe the error has changed as I am now deploying Spring 2.5.3 with my EJB. Does anyone have an idea on what is causing this?
    Note I have also deployed the code onto OC4J and it works fine.
    Regards
    Neil
    Error 500--Internal Server Error
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
         org.springframework.jee.interfaces.LifecycleCallbackException: Failure to invoke public void org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.autowireBean(javax.interceptor.InvocationContext) on bean class class sandpit.ejb.interceptor.SandpitSpringBeanAutowiringInterceptor_ei72e8_Impl with args: [com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata$LifecycleEventCallbackInvocationContext@bc6ac]; nested exception is: org.springframework.jee.interfaces.LifecycleCallbackException: Failure to invoke public void org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.autowireBean(javax.interceptor.InvocationContext) on bean class class sandpit.ejb.interceptor.SandpitSpringBeanAutowiringInterceptor_ei72e8_Impl with args: [com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata$LifecycleEventCallbackInvocationContext@bc6ac]
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:109)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:91)
         at $Proxy156.validatePostcode(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy97.validatePostcode(Unknown Source)
         at sandpit.web.PostcodeValidationController.onSubmit(PostcodeValidationController.java:56)
         at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
         at org.springframework.web.servlet.mvc.CancellableFormController.processFormSubmission(CancellableFormController.java:140)
         at org.springframework.web.servlet.mvc.AbstractFormController.handleInvalidSubmit(AbstractFormController.java:671)
         at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:272)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:523)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:463)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: org.springframework.jee.interfaces.LifecycleCallbackException: Failure to invoke public void org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.autowireBean(javax.interceptor.InvocationContext) on bean class class sandpit.ejb.interceptor.SandpitSpringBeanAutowiringInterceptor_ei72e8_Impl with args: [com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata$LifecycleEventCallbackInvocationContext@bc6ac]
         at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.invokeLifecycleMethod(Jsr250Metadata.java:335)
         at com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata.invokeLifecycleMethods(InterceptionMetadata.java:580)
         at com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata$AdvisorChainProxyControl.invokeLifecycleMethod(InterceptionMetadata.java:547)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:106)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy157.invokeLifecycleMethod(Unknown Source)
         at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:196)
         at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:121)
         at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:148)
         at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:227)
         at weblogic.ejb.container.internal.StatelessRemoteObject.preInvoke(StatelessRemoteObject.java:52)
         at sandpit.ejb.address.AddressEJB_vk8fj2_AddressEJBImpl.validatePostcode(AddressEJB_vk8fj2_AddressEJBImpl.java:39)
         at sandpit.ejb.address.AddressEJB_vk8fj2_AddressEJBImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at sandpit.ejb.address.AddressEJB_vk8fj2_AddressEJBImpl_1031_WLStub.validatePostcode(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:73)
         ... 36 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.invokeLifecycleMethod(Jsr250Metadata.java:332)
         ... 63 more
    Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.findMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;
         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineRequiredStatus(AutowiredAnnotationBeanPostProcessor.java:347)
         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$1.doWith(AutowiredAnnotationBeanPostProcessor.java:294)
         at org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:283)
         at org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:260)
         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.findAutowiringMetadata(AutowiredAnnotationBeanPostProcessor.java:287)
         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.processInjection(AutowiredAnnotationBeanPostProcessor.java:268)
         at org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.autowireBean(SpringBeanAutowiringInterceptor.java:101)
         ... 68 more

  • Weblogic 11g migration problems with informix drivers

    Hi
    I´m having some isues with informix drivers in weblogic 11g.
    Old Version: WebLogic 10.3.0 / 10gR3
    New Version: WebLogic 10.3.5 / 11g
    Daba base: informix 10
    I have 2 datasources configured are test correctly. So, the database connection is established.
    Also, I put informis drivers in the lib directory of the server, and on startup they are picked.
    <Following extensions directory contents added to the end of the classpath:
    C:\bea11g\user_projects\domains\base_domain\lib\ifxjdbc.jar;C:\bea11g\user_projects\domains\base_domain\lib\ifxjdbcx.jar;C:\bea11g\user_projects\domains\base_domain\lib\ifxlang.jar;C:\bea11g\user_projects\domains\base_domain\lib\ifxlsupp.jar;C:\bea11g\user_projects\domains\base_domain\lib\ifxsqlj.jar;C:\bea11g\user_projects\domains\base_domain\lib\ifxtools.jar>
    But when the aplication starts, in serverLog you can see
    java.lang.ClassNotFoundException: com.informix.jdbc.IfxConnection
    It seems like the application couldn´t access to de jar...
    Thanks

    Hi,
    I think your issue is been related to iAS. If so please place your query in iAS forum thread. So that you can get valuable suggestion.
    Regards,
    Dakshin.

  • Taking long time to start when weblogic 11g admin server

    Hi
    When I ran following command in linux 64-bit environmnt to start weblogic 11g admin server, it is taking such a long time (some time it is taking one and half hour, some time it is taking 24 hours and still showing work under process)
    $HOME/Middleware/user_projects/domains/soa_domain/startWebLogic.sh -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic$123 > server.log &
    Please help me out.
    Linux OS 64-bit installaed
    Weblogic 11g server (64-bit) installed
    SOA SUIT 11g (64-bit) Installed
    SYStem COnfiguration:
    RAM 4 GB
    HDD 160 GB (Single Partition)
    Core 2 duo Processor
    Thanks
    Phani

    How much memory have you configured for the servers?
    When the memory (Xmx and Xms - JVM parameters) is too small start-up times can get long.
    I saw that you have SOA environment. To tune your environment this link might help: http://middlewaremagic.com/weblogic/?p=6040

  • Weblogic 11g Error

    Hello ,
    We are having an Spring based application which was running in weblogic 8.1 , we are migrating to weblogic 11g .
    I created all the configurations in 11g as it was in 8.1 . But I am getting a set of errors as shown below while deploying the application.
    Error while deploying
    •     Substituted for missing class org.springframework.beans.FatalBeanException - Can't resolve reference to bean 'prixcarAdapter' while setting property 'messageHandler' on bean 'ftpAdapter';
    •     nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean 'prixcarGateway' while setting property 'gateway' on bean 'prixcarAdapter';
    •     nested exception is: org.springframework.beans.FatalBeanException: Can't resolve reference to bean 'jmsPrixcarConnectionFactory' while setting property 'connectionFactory' on bean 'prixcarGateway';
    •     nested exception is: org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'jmsPrixcarConnectionFactory' threw exception;
    •     nested exception is: javax.naming.NameNotFoundException: Unable to resolve 'PrixcarConnectionFactory'. Resolved ''; remaining name 'PrixcarConnectionFactory'
    Log file error
    The Message-Driven EJB: PRIXCAR_IMPORT_GATEWAY_QUEUE is unable to connect to the JMS destination: jms.PrixcarDamageQueue. The Error was: javax.naming.NameNotFoundException: Unable to resolve 'jms.PrixcarDamageQueue'. Resolved 'jms'; remaining name 'PrixcarDamageQueue' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at weblogic.jms.common.CDS$2.run(CDS.java:222) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.jms.common.CDS.getDDMembershipInformation(CDS.java:216) at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.createMDManagers(MessageDrivenBeanInfoImpl.java:1295) at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.activate(MessageDrivenBeanInfoImpl.java:1092) at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1324) at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:480) at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227) at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:415) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:75) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:67) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java
    In the spring xml I have configured the bean as shown below
    <bean id="jmsPrixcarQueue" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName"><value>jms.PrixcarDamageQueue</value></property>
    <property name="inContainer"><value>false</value></property>
    </bean>
    <bean id="jmsPrixcarConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName"><value>jms.PrixcarConnectionFactory</value></property>
    <property name="inContainer"><value>false</value></property>
    </bean>
    And in weblogic-ejb-jar.xml it is as shown below
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"
    "http://www.oracle.com/technology/weblogic/weblogic-ejb-jar/1.1/weblogic-ejb-jar.xsd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>PRIXCAR_IMPORT_GATEWAY_QUEUE</ejb-name>
    <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>1</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    <destination-jndi-name>jms.PrixcarDamageQueue</destination-jndi-name>
    </message-driven-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    I configured jms modules in weblogic 11g server console with the jndi names
    jms.PrixcarDamageQueue
    jms.PrixcarConnectionFactory
    Please let us know the reason for this error also the doctype for 11g in weblogic-ejb-jar.xml above.
    Edited by: user13295341 on Jun 15, 2010 5:21 AM

    Jay and Maxence , I tried what you guys said by removing the jms. and using only PrixcarDamageQueue and PrixcarConnectionFactory but still I am getting an error like Namenotfound as shown below,
    The Message-Driven EJB: PRIXCAR_IMPORT_GATEWAY_QUEUE is unable to connect to the JMS destination: PrixcarDamageQueue. The Error was: javax.naming.NameNotFoundException: Unable to resolve 'PrixcarDamageQueue'. Resolved ''; remaining name 'PrixcarDamageQueue' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at weblogic.jms.common.CDS$2.run(CDS.java:222) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.jms.common.CDS.getDDMembershipInformation(CDS.java:216) at
    My doubt is will queue be displayed in JNDI tree ?? I mean there is a JNDI tree in weblogic admin screen and I am getting only the PrixcarConnectionFactory in that and not the PrixcarDamageQueue , may be thats why its showing "unable to connect to the JMS ???" Please advice.....
    I changed both the xml's and the JNDI names in the admin screen.

  • Oracle Portal returns 500 error running under Weblogic 11g server

    I've got Oracle Portal set up under Weblogic 11g.
    SSO running, talking to OID 11g, also running under the same Weblogic 11g server. Tested SSO, it is working well.
    After the install (no errors or issue on install), I go to http://<server>:8090/portal/pls/portal and geta Error 500 - Internal Server Error.
    I traced down the problem to OHS - in ohs1.log:
    [2009-08-04T10:09:15.0512-05:00] [OHS] [ERROR:32] [OHS-9999] [odl_log.c] [host_id: <server>] [host_addr: 127.0.0.1] [tid: 1320139072] [user: oracle] [ecid: 004S594zs25Fw000jzwkno0002740001NK] [rid: 0] [VirtualHost: main] Request Failed for : /portal/pls/portal, Resp Code : [500]
    [2009-08-04T10:09:15.1212-05:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: <server> [host_addr: 127.0.0.1] [tid: 1330628928] [user: oracle] [ecid: 004S5953tHhFw000jzwkno0002740001NL] [rid: 0] [VirtualHost: main] File does not exist: /opt/oracle/Middleware/asinst_2/config/OHS/ohs1/htdocs/favicon.ico
    So the problem is favicon.ico is missing, which I confirmed. Does this mean a bad deployment of an .EAR file? What should I do?

    Yes, it seems you are correct....this is from WLS_PORTAL-diagnostic.log
    Looks like the real problem is ERROR: Failed to load C shared library in RepositoryGateway after calling RepositoryGatewayJNI.load:
    [2009-08-05T08:32:08.333-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBekbL6Fw000jzwkno1AU3uT000001,0] [APP: portal] Portal Servlet Context Listener destroy started
    [2009-08-05T08:34:14.191-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] Initializing Portal Servlet Context Listener
    [2009-08-05T08:34:14.534-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] Creating Repository Service
    [2009-08-05T08:34:14.540-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] In RepositoryService.constructor(<3 args>), PLSQL_CONFIG_FILE = /opt/oracle/Middleware/user_projects/domains/pfrd/servers/WLS_PORTAL/stage/portal/portal/configuration/portal_plsql.conf[[args: serverInfo=WebLogic Server 10.3.1.0 Thu Jun 11 00:26:56 EDT 2009 1227385 , contextRoot=/portal, logMode=error]]
    [2009-08-05T08:34:14.578-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] In RepositoryServiceConfig, DAD_CONFIG_FILE = /opt/oracle/Middleware/user_projects/domains/pfrd/servers/WLS_PORTAL/stage/portal/portal/configuration/portal_dads.conf, CACHE_CONFIG_FILE = /opt/oracle/Middleware/user_projects/domains/pfrd/servers/WLS_PORTAL/stage/portal/portal/configuration/portal_cache.conf
    [2009-08-05T08:34:14.582-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] In RepositoryServiceConfig, dadRetriever = oracle.webdb.repository.service.DadFileConfigRetriever@26d4835, cacheRetriever = [email protected]7
    [2009-08-05T08:34:14.622-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] Calling RepositoryGatewayJNI.load ...
    **ERROR STARTS HERE
    [2009-08-05T08:34:14.637-05:00] [WLS_PORTAL] [ERROR] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] ERROR: Failed to load C shared library in RepositoryGateway!
    [2009-08-05T08:34:14.665-05:00] [WLS_PORTAL] [ERROR] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId:
    <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] ERROR: Repository Service creation failed. Please check previous log entries for possible cause.
    [2009-08-05T08:34:14.911-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal.config.modplsql.mbeans.DadManagerMXBeanImpl] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] **** Inside Reloaded, NOW Register mbean = : /pls/portal
    [2009-08-05T08:34:14.915-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal.config.modplsql.mbeans.DadManagerMXBeanImpl] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] **** Inside RegisterBean, global beanName = : oracle.portal.config:subtype=DADs,name=/pls/portal,type=PortalConfig,Application=portal
    [2009-08-05T08:36:16.717-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portlet.server.wsrp.mbean.WSRPTransientConfigMXBeanImpl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IBelXi4Fw000jzwkno1ARF2b0004Zm,1:5002] [APP: wsrp-tools] Found WLS AppDeployment MBean com.bea:Name=portalTools#11.1.1.1.0,Type=AppDeployment

  • Weblogic 11g JPS-04028 error - Application with name "abc" does not exist

    Hi,
    We are migration one our app from OC4J to weblogic 11g server. This app is running fine in OC4J but getting the below exception in 11g. Pls help us in resolving this in identifying and resolving the same.
    I found info here, but wasn't help full to understand.
    JPS-04028: Application with name "{0}" does not exist.
    Cause: Could not find application with name {0}.
    Action: Verify that an application with the provided name exists.
    Level: 1
    Type: ERROR
    Impact: Configuration
    link - http://docs.oracle.com/cd/E25178_01/core.1111/e10113/chapter_jps_messages.htm
    <May 24, 2012 11:17:11 AM GMT+00:00> <Notice> <StdErr> <BEA-000000> <May 24, 2012 11:17:11 AM oracle.security.jps.az.internal.runtime.service.PDPServiceImpl getApplicationPolicy
    FINE: Not found ApplicationPolicy:abc
    oracle.security.jps.service.policystore.PolicyObjectNotFoundException: Application with name "abc" does not exist.
    at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.unsync_getApplicationPolicy(XmlPolicyStore.java:640)
    at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.getApplicationPolicyWithNoAuthzCheck(XmlPolicyStore.java:625)
    at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicy(XmlPolicyDistributionService.java:222)
    at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntity(XmlPolicyDistributionService.java:212)
    at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntry(XmlPolicyDistributionService.java:121)
    at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntry(XmlPolicyDistributionService.java:116)
    at oracle.security.jps.az.internal.management.pd.service.PolicyDistributionServiceImpl.getAppPolicyEntry(PolicyDistributionServiceImpl.java:137)
    at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:355)
    at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:320)
    at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2719)
    at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:526)
    at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:516)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:516)
    at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:363)
    at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAuthenticatedSubject(JpsAbsSubjectResolver.java:356)
    at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:269)
    at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:212)
    at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPreRegister(JpsJmxInterceptor.java:447)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
    at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
    at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPreRegister(ContextClassLoaderMBeanInterceptor.java:1
    50)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
    at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
    at oracle.as.jmx.framework.generic.spi.interceptors.BasePublicMBeanInterceptor.internalPreRegister(BasePublicMBeanInterceptor.java:110)
    at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:633)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:611)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
    at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
    at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60)
    at HTTPClient.config.JRFContextProvider.registerContextRemovalListener(JRFContextProvider.java:142)
    at HTTPClient.config.ConfigurationFactory.registerContextRemovalListener(ConfigurationFactory.java:569)
    at HTTPClient.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:133)
    at HTTPClient.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:103)
    at HTTPClient.HttpClientConfiguration.getConfiguration(HttpClientConfiguration.java:53)
    at HTTPClient.CookieModule.getMutableStatics(CookieModule.java:769)
    at HTTPClient.CookieModule.addCookie(CookieModule.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)>
    <May 24, 2012 11:17:11 AM GMT+00:00> <Notice> <StdErr> <BEA-000000> <May 24, 2012 11:17:11 AM oracle.security.jps.internal.jaas.JpsAbsSubjectResolver getApplicationRoles
    FINE: oracle.security.jps.ee.jmx.JpsJmxInterceptor:internalPreRegisterJpsException caught during app roles computation: oracle.security.jps.service.policyst
    ore.PolicyObjectNotFoundException: JPS-04028: Application with name "abc" does not exist.>
    -----------------

    Hi,
    This forum is for issues migrating from non-Oracle databases to Oracle.
    It would be better to ask this question in one of the Weblogic servers but as there are several Weblogic forums but it may be better to try this one first -
    Forum: WebLogic Server - Upgrade / Install / Environment / Migration
    WebLogic Server - Upgrade / Install / Environment / Migration
    Regards,
    Mike

  • Images not showing up after moving from OAS 10g to Weblogic 11g

    We are moving our oracle forms application from OAS10g to weblogic 11g. We have a simple login html page that has an jpg image. This login page is rendered properly under OAS 10g. After following the documentation for configuration, the login functionality works fine but for some reason the images on the html page do not show anymore. The images are located within the same directory as the html page
    C:\Oracle\Middleware\asinst_1\config\FormsComponent\forms\server\index.html
    C:\Oracle\Middleware\asinst_1\config\FormsComponent\forms\server\myimage.jpg (this does not render).
    Does anyone have any suggestion about this?
    thanks,
    Wes

    I'm just noticing this tonight, too.  I had Lr3 scan for missing photos.  It identified 388 out of about 20,000.  In checking on that, I tried to reconnect one to the current path, but nothing happens.  The entry for that shot stays in the Missing Photographs group, and the "missing" icon remains on the thumbnail.

  • J2EE versions supported by Weblogic 11g, 12g

    Hello,
    Can you please direct me to a link that I can find what versions of J2EE or Java EE are reliably supported in 11g and 12g.
    Thanks,
    Raj

    I'm sorry, I thought by mistake that you were asking about Java SE, so I sent you info about Java SE in my previous post. Here is the information about Java EE:
    http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html
    http://www.oracle.com/technetwork/java/javaee/overview/compatibility-javaee5-jsp-141098.html
    (Just find "WebLogic" on the page and open the link "Tested configuration" below it).
    As you can see WebLogic 12c is Java EE 6 compatible and WebLogic 11g is Java EE 5 compatible.

  • Weblogic 11g hangs after adding -Xmanagement start parameter

    Hi.
    I've got very strange problem with Weblogic 11g.
    After adding to startup parameter:
    -Xmanagement:port=3107,authenticate=false,ssl=false
    server hangs during start.
    <May 2, 2012 2:45:19 PM> <INFO> <NodeManager> <Server output log file is '/u01/app/Oracle/Middleware/user_projects/domains/jmsZycie/servers/srv1/logs/srv1.out
    '>
    JAVA Memory arguments: -Xms512m -Xmx512m
    WLS Start Mode=Production
    CLASSPATH=/u01/app/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R
    28.2.2-4.1.0/lib/tools.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.ja
    r:/u01/app/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/ap
    p/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u01/app/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u01/a
    pp/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:/u01/app/Oracle/Middleware/pa
    tch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/lib/tools.jar:/u01/app/Ora
    cle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/app/Oracle/Middleware/modules/fe
    atures/weblogic.server.modules_10.3.6.0.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/app/Oracle/Middleware/modules/org.apache.
    ant_1.7.1/lib/ant-all.jar:/u01/app/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/u01/app/Oracle/Middleware
    PATH=/u01/app/Oracle/Middleware/wlserver_10.3/server/bin:/u01/app/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6
    .0_29-R28.2.2-4.1.0/jre/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/bin:/u01/app/Oracle/Middleware/wlserver_10.3/server/bin:/u01/app/Orac
    le/Middleware/modules/org.apache.ant_1.7.1/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/jre/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6.
    0_29-R28.2.2-4.1.0/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Oracle JRockit(R) (build R28.2.2-7-148152-1.6.0_29-20111221-2104-linux-x86_64, compiled mode)
    Starting WLS with line:
    /u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/bin/java -jrockit -Xms512m -Xmx512m -Dweblogic.Name=srv1 -Djava.security.policy=/u01/app/Oracle
    /Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.system.BootIdentityFile=/u01/app/Oracle/Middleware/user
    _projects/domains/jmsZycie/servers/srv1/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVeri
    fication=false -Dweblogic.ReverseDNSAllowed=false -Xms2048m -Xmx2048m -Xnohup -Xverbose:gcpause,gcreport,memory -Xverify=none -Xmanagement:port=3107,authentic
    ate=false,ssl=false -Xss:512k -Xdebug -da -Dplatform.home=/u01/app/Oracle/Middleware/wlserver_10.3 -Dwls.home=/u01/app/Oracle/Middleware/wlserver_10.3/server
    -Dweblogic.home=/u01/app/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.2.124.194:7080
    -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u01/app/Oracle/Middleware/patch_wls1036/profiles/default
    /sysext_manifest_classpath weblogic.Server
    [INFO ][memory ] Running with 32 bit heap and compressed references.
    [INFO ][memory ] GC mode: Garbage collection optimized for throughput, strategy: Generational Parallel Mark & Sweep.
    [INFO ][memory ] Heap size: 2097152KB, maximal heap size: 2097152KB, nursery size: 1048576KB.
    [INFO ][memory ] <start>-<end>: <type> <before>KB-><after>KB (<heap>KB), <time> ms, sum of pauses <pause> ms.
    [INFO ][memory ] <start> - start time of collection (seconds since jvm start).
    [INFO ][memory ] <type> - OC (old collection) or YC (young collection).
    [INFO ][memory ] <end> - end time of collection (seconds since jvm start).
    [INFO ][memory ] <before> - memory used by objects before collection (KB).
    [INFO ][memory ] <after> - memory used by objects after collection (KB).
    [INFO ][memory ] <heap> - size of heap after collection (KB).
    [INFO ][memory ] <time> - total time of collection (milliseconds).
    [INFO ][memory ] <pause> - total sum of pauses during collection (milliseconds).
    [INFO ][memory ] Run with -Xverbose:gcpause to see individual phases.
    [INFO ][mgmnt  ] Remote JMX connector started at address poc1:3107
    [INFO ][mgmnt  ] Local JMX connector started
    <May 2, 2012 2:45:22 PM CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable th
    is check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <May 2, 2012 2:45:23 PM CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disab
    le this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <May 2, 2012 2:45:24 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.2.2-7-148152-1.6.0_29-20111221
    -2104-linux-x86_64 from Oracle Corporation>
    <May 2, 2012 2:45:26 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
    <May 2, 2012 2:45:29 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <May 2, 2012 2:45:29 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    And this is it.
    I am able to connetct from JRMC. After removing -Xmanagement all is working.

    Can you please take a thread dump and copy paste the stack trace for the Thread called "main" thread.
    Please take atleast 3 thread dumps with an interval of 10 seconds and paste the "main" thread stack trace from all the 3 thread dumps.
    After analyzing the stack trace we might be able to determine where it is hanging and thus giving us a clue where the issue could be.
    Arun

  • Migrating from Non-XA driver type to XA Driver in Weblogic 11g

    I have two data sources created in weblogic 11g which were configured in following manner and we are using this configuration since our application started supporting weblogic as application server that's Weblogic 9i.
    Database A: Participates in Global Transaction
    Driver Type: Oracle Thin Driver non-XA
    Support Global Transaction option is disabled for this data source.
    Database B: Participates in Global Transaction
    Driver Type: Oracle Thin Driver non-XA
    Support Global Transaction option is enabled for this data source with One Phase Commit enabled.
    If we use this configuration our application run just fine without any issues.
    Now we have a requirement of adding another data source which participates in global transactions.When I create this data source with following settings,
    Driver Type: Oracle Thin Driver non-XA
    Support Global Transaction option is enabled for this data source with One Phase Commit enabled.
    This results in error (which was expected) "
    "*SQL ERROR: Connection has already been created in this tx context for pool named CMDEMO. Illegal attempt to create connection from another pool: EXPDB*"
    and even when I enable "Support Global Transaction" option with LLR or Emulate Two phase Commit option this results is error,
    "*Database Error: Unexpected exception in Non XA Resource enlistment. Resource=JDBC LLR, pool=EXPDB, table=WL_LLR_ADMINSERVER Cannot enlist more*
    than one Non XA Resource. Attempt to enlist 'WL_JDBC_LLR_POOL.EXPDB' when 'WL_JDBC_LLR_POOL.CMDEMO' is already enlisted."
    Now we are planning to move to "Oracle Thin Driver XA" driver type for all the three data sources.I tested this config. and all global transaction are getting executed perfectly.
    But before we adopt this change,I just wanted to check what all are the limitations of using XA driver or any potential issues that needs to be tested. I explored about this and came to know that XA comes with performance overhead ,frequent database locking with SQL Server driver, and some conflicts with multibyte character sets etc.
    Can someone please provide some input on how to tread ahead and what all things needs to tested.

    How are you using these connection pools in your application?
    Do you have different EJB's, which have the default transaction attribute configured (@TransactionAttribute(TransactionAttributeType.REQUIRED)),
    and are calling each other?
    If one EJB is using connection pool A and the other is using connection pool B, you get in trouble because the transaction is already
    started by EJBone and is propagated to EJBother. In this case you can use @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW).
    Now a new transaction is started for EJBother.
    Some information about XA
    The primary difference is that data sources that support global transactions are JTA transaction-aware.
    Realize that JTA transactions do not necessarily mean XA transactions and two-phase commits (2PC). JTA
    transactions also allow two independently written components that modify the same database to participate
    in a transaction without having to know about each other. Non-XA database transactions require the
    use of a single database connection to provide the proper transactional semantics. If you choose not to
    use the Supports Global Transactions option, you need to write your application components in such
    a way that they get a database connection from the pool at the start of every transaction and pass that
    connection around to every component that participates in the transaction. This is clearly not desirable
    and not even possible with certain types of components (for example, JPA managed entities).
    A data source that supports global transactions will make sure that your components participating in a
    JTA transaction get the proper transactional semantics whether or not they are using XA transactions.
    When not using XA transactions, the data source accomplishes this by associating a database connection
    with a JTA transaction context. Every time a component asks for a database connection using the data
    source that supports global transactions, WebLogic Server will check to see if the current transaction
    already has a database connection, and if so, it will always hand back the same underlying database connection.
    This allows non-XA transactions to maintain the proper database semantic guarantees without
    having to worry about what database connection to use and what the transactional boundaries are for
    the application.

Maybe you are looking for