Embedded EJBContainer  // No EJBContainer provider available

Hello Friends
Environment :
Weblogic12c
JUnit4
JRockit1.6
Can you please share with me the EJBContainer.PROVIDER value while using weblogic12c.
I created an EJB3.1 stateless session bean, now I'm trying to use embedded ejb container for JUnit test class within the same EJB project.
I'm already followed this link - http://docs.oracle.com/javaee/6/tutorial/doc/gkcrr.html
but no luck.While running JUnit test class, getting following exception you can find at the bottom this post.
I'm using these packages from javax.ejb_3.1.0.jar
import javax.ejb.embeddable.EJBContainer;
import javax.ejb.spi.EJBContainerProvider;
Note : The same test project is running well in glassfish server.
Thanks in advance,
Have more fun with Java.
Justin.
Exception :
javax.ejb.EJBException: No EJBContainer provider available for requested provider:
        javax.ejb.spi.EJBContainerProvider: no provider names had been found.
     at javax.ejb.embeddable.EJBContainer.reportError(EJBContainer.java:186)
     at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:121)
     at com.justin.math.ejb.test.CalculatorEJBJUTest.init(CalculatorEJBJUTest.java:31)
     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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:684)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:391)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Test Class :
package com.justin.math.ejb.test;
import static org.junit.Assert.*;
import java.util.Properties;
import javax.ejb.embeddable.EJBContainer;
//import javax.ejb.spi.EJBContainerProvider;
import javax.naming.NamingException;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import com.justin.math.ejb.CalculatorEJB;
public class CalculatorEJBJUTest {
     static EJBContainer ejbContainer;
     static CalculatorEJB calculatorEJB;
     @BeforeClass
     public static void init() {          
          String globalJndiName = "java:global/classes/CalculatorEJB";
          //String localJndiName = "java:module/CalculatorEJB";
          Properties properties = new Properties();
          try {
               properties.setProperty(EJBContainer.MODULES, "CalculatorEJB");
               properties.setProperty(EJBContainer.PROVIDER, "javax.ejb.spi.EJBContainerProvider");
                        //Also tried without setting properties in WLS12c. Glassfish was fine without properties.
               ejbContainer = EJBContainer.createEJBContainer(properties);
                        //Just trying both global and local jndi names
               //calculatorEJB = (CalculatorEJB) ejbContainer.getContext().lookup(localJndiName);
               calculatorEJB = (CalculatorEJB) ejbContainer.getContext().lookup(globalJndiName);
          } catch (NamingException e) {
               e.printStackTrace();
     @AfterClass
     public static void release() {
          if(ejbContainer != null)
               ejbContainer.close();
     @Test
     public void testAdd() {
          int result = calculatorEJB.add(1, 2);
          assertNotNull(result);
          assertEquals(3, result);
     @Test
     public void testMultiply() {
          int result = calculatorEJB.multiply(1, 2);
          assertNotNull(result);
          assertEquals(2, result);
}

Hello gimbal2 - Thank you for advising me to re-post on the right place (WebLogic Server - EJB).
Embedded EJB Container // No EJBContainer provider available
Regards :)
Justin.

Similar Messages

  • CDI in Embedded EJBContainer not working

    Hello,
    I am having really annoying problems with running the Embedded EJBContainer and CDI!
    Scenario: Using WLS 12.1.2 and trying to use Embedded EJBContainer for Unit-Tests.
    Running the embedded container fails with following exception:
    Caused
    by: java.lang.UnsupportedOperationException: authenticatedLookup is unavailable for BasicNamingNode types
          at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:234)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:463)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:274)
          at weblogic.jndi.internal.ServerNamingNode_12120_WLStub.authenticatedLookup(UnknownSource)
          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:483)
    This happens as soon as a beans.xml is present in META-INF directory. Without it,
    the container runs, but no CDI is active!
    I tried the supplied examples
    wlserver\samples\examples\src\examples\javaee6\ejb\embeddableContainer
    Unfortunately the example does not use CDI!
    But as soon as you copy a beans.xml in the META-INF folder, it fails!! Can anybody double-check, please?
    Really fighting with it for days now...
    Is this a bug in Weblogic Embedded Container? Does anybody have a working example of a
    Weblogic Embedded Container running with CDI?
    Thank you!

    The previous firmware had Flash Lite v2.1, which corresponds roughly to Flash version 6 or 7 and I'm pretty sure didn't work very well with Flash based web pages at all (and most use Flash 8 or 9 these days anyway).
    The new firmware has Flash Lite v3.0 which roughly corresponds to Flash 8, so many web sites using Flash now actually work, when they didn't (but still not all of them, as not all Flash 8 features are supported).
    Perhaps, in the past, earlier firmware, you ended up in non-Flash version and now get the Flash version (and as Flash Lite is not fully compatible, it doesn't work)?

  • Placed PDF (with embedded fonts) reports fonts not available!

    Hi,
    Can anyone tell me why Illustrator CS (I know it's old) should report Fonts missing when the PDF I have placed has definately got the fonts embedded.
    The PDF was made in InDesign CS4 using the default [High Quality Print] setting. If I look at the properties of the created PDF it lists all the fonts as being embedded subsets.
    I know I can get around this by outlining the text but I shouldn't have to.
    Thanks
    Simon Kemp

    So, Illustrator will always require the fonts present and will disregard any embedded fonts?
    That's pretty much it. Remember: Illustrator is not a PDF viewing program. It wants to let you edit the document. PDF is essentially a document exchange format and not really intended for editable content (beyond the extent Acrobat enables). Font designers want you to buy their products if you're going to be doing anything other than reading the text.
    The link-place-flatten trick is good to have in your bag of tricks, but I am not alone in recommending you do not blindly outline all type. Aside from making it nearly impossible for an output service provider to make a possibly necessary last-minute correction, you will not get the proper hinting with very small type. Moreover, if you're dealing with a large amount of text, you'll end up with huge files.

  • Does anyone know if the embeded gmail/hotlink that's available in Chrome is available for firefox (one button that creates a hotlink from the current webpage direclty into gmail)?

    chrome has a single button that combines the link to gmail and automatically embeds the hyperlink. it is the gmail logo with the "infinity" symbol...similar to the "share" button, but a hyperlink is established rather than a non-active url.

    Try this extension:
    * Make Link - https://addons.mozilla.org/firefox/addon/make-link/

  • How can I cancel my plan when none of the avenues for cancelling that you say you provide are actually provided/available to me?

    I want to cancel my plan now.

    This is a user to user Forum, so you are not really addressing Adobe here, even though some Adobe employees thankfully have been dropping by.
    Maybe you should try
    Contact Customer Care

  • EJBContainer.createEJBContainer for maven project

    I have a simple javaee 6 app with a ejb
    I want to write a basic junit test that uses Embedded EJB Container api
                System.setProperty("weblogic.home","C:\\share\\weblogic\\wls1212\\wlserver");
                Properties prop = new Properties();
                prop.setProperty(EJBContainer.MODULES, "target/classes");
                prop.put(EJBContainer.PROVIDER, "weblogic.ejb.embeddable.EJBContainerProvider");
                EJBContainer container = EJBContainer.createEJBContainer(prop);
                System.out.println("Got EJB COntainer=" + container);
                Context context = container.getContext();
                System.out.println("Got Context=" + context);
                context.lookup("java:global/classes/TestEJB");
                container.close();
    what should my pom include as dependencies?
    I have tried using weblogic.jar weblogic.server.merged.jar wlfullclient.jar wlsaft3client.jar wlthint3client.jar and combinations of these jars
    either I get class not found exceptions, or in one case the junit simply hangs doing nothing (it created blank domain folder in c:\temp)
    I opened SR - supports shows me this post Embedded EJB Container // No EJBContainer provider available
    This certainly doesnt work and I get - weblogic.ejb.embeddable.EJBContainerProvider: no provider names had been found
    BTW Oracle support is completely incompetent and lazy on top - I would really appreciate if the community here helps

    Hi John,
    [trinidad version of maven-jdev-plugin | http://search.maven.org/#artifactdetails|org.apache.myfaces.trinidadbuild|maven-plugin-parent|2.0.5|pom]
    offers support for Jdev 11.1.2 too (not 100%).
    First, I tryed create pom.xml by JDeveloper, import maven project to JDeveloper too.
    But, unfortunatelly, I dont found 100% way to collaborate with own maven project.
    JDeveloper always made or assumed small correction of structure (not pure Maven) etc.
    I'm afraid JDev in version 11.1.2 always stay on principe "jws & jps first, then pom.xml".
    Whereas my tendency is "only pom.xml" project - jws & jpr only generated on-flight as needed evil :-)
    So "mvn jdev:jdev" with maven-jdev-plugin is exactly what I need.
    I will try to modify "trinidad plugin" to satisfy my need.
    Of course it would fabulous if Oracle JDev team create 100% maven-plugin for JDeveloper.
    Thanks and nice day,
    Jara
    Edited by: Jara on Jun 27, 2011 1:35 PM
    Edited by: Jara on Jun 27, 2011 1:37 PM

  • Error starting embedded container

    Hi,
    I try to setup embedded container and it fails:
    Properties prop=new Properties();
    prop.setProperty(EJBContainer.MODULES,"jar");
    prop.put(EJBContainer.PROVIDER, "weblogic.ejb.embeddable.EJBContainerProvider");
    container=EJBContainer.createEJBContainer(prop);
    javax.ejb.EJBException: Error instantiating embedded server; nested exception is: weblogic.server.embed.EmbeddedServerException: Error creating default domain
    weblogic.server.embed.EmbeddedServerException: Error creating default domain
        at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:235)
        at weblogic.server.embed.internal.DomainConfig.getDefaultDomain(DomainConfig.java:143)
        at weblogic.server.embed.internal.DomainConfig.ensureInitialized(DomainConfig.java:66)
        at weblogic.server.embed.internal.EmbeddedServerImpl.ensureStarted(EmbeddedServerImpl.java:213)
        at weblogic.server.embed.internal.EmbeddedServerImpl.start(EmbeddedServerImpl.java:111)
        at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:98)
        at weblogic.ejb.embeddable.EJBContainerImpl.<init>(EJBContainerImpl.java:77)
        at weblogic.ejb.embeddable.EJBContainerProvider.createEJBContainer(EJBContainerProvider.java:17)
        at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
    Caused by: java.lang.NoSuchMethodError: weblogic.Home.getMiddlewareHomePath()Ljava/lang/String;
        at weblogic.management.utils.PDevHelper.getConfigLaunchLocation(PDevHelper.java:66)
        at weblogic.management.utils.PDevHelper.getPDevClassLoader(PDevHelper.java:38)
        at weblogic.management.internal.CIEDomainGenerator.validateConfigFramework(CIEDomainGenerator.java:18)
        at weblogic.server.embed.internal.FullEmbeddedServerProvider.lookupDomainGenerator(FullEmbeddedServerProvider.java:87)
        at weblogic.server.embed.internal.EmbeddedServerProvider.createDefaultDomain(EmbeddedServerProvider.java:138)
        at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:233)
        ... 30 more
    I use wls12120 for developers, classpath contains wlsaft3client.jar, javax.persistence_2.1.0.0_1-0-2.jar and javax.ejb_3.2.0.jar (all from same weblogic 12c installation). Is it bug in weblogic?

    I don't think it involves spaces in the JDeveloper installation folder. Other developers in my office have JDeveloper installed in a path with no spaces, and they see the same problem. Actually, we don't even need to create a web application to see the problem. We see it when creating a new application server connection with the standalone OC4J 10.1.3 and clicking Test Connection:
    Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]

  • Ajax functionality works in embedded OC4J, but not on iAS 10.1.2

    Hi,
    For a customer, we made an ADF application using JDeveloper 10.1.2. Using instructions from http://www.oracle.com/technology/pub/articles/vohra-ajax.html we coded a servlet, to find a description from a code the user entered in the application, and show this on the webpage without page refresh (the application uses JSP and Struts). This works fine in the embedded oc4j server JDeveloper provides, and also works fine on the Standalone OC4J server. However, when the application is deployed to the iAS from the customer, everything works fine, except the ajax functionality, the description fields simply are not shown.
    Does anyone have a clue what could be the problem? We also runned the application on the iAS server itself, and this gives the same error (no ajax functionality).
    Thanks in advance,
    Remco

    Hi dvohra,
    Thanks for your reply. I'm afraid I overlooked something, which is the reason of the ajax functionality not working. The Servlet that made the Ajax functionality used a datasource, and the same was in the Embedded OC4J Preferences. The ADF Business Components part was changed to use the datasource declared on the iAS. The Servlet however was not...
    So, all works now.

  • Upgrade Fee?  Is it time for a new provider?

    The new upgrade fee is a bit ridiculous. Verizon is by far the most expensive provider available.
    Is it time to start searching for a new provider?

    Hmmmm, sounds like a challenge.  I live in a metro area so I know there are many providers to choose from.  I have many friends who get excellent service from smaller providers.  Last time I checked it's not 2003 and mobile phone tower usage is leased to providers not owned.  There are probably plenty of service providers who are champing-at-the-bit to sign up ex-Verizon customers.  I will do some research and let you guys know what I find.
    Just to note, part of the reason cell phone makers charge so much for their phones is because of subsidies.  Do you really think people would switch to next crapple iphone 7 if they actually had to pay $800 bucks for it?  Apple, samsung, Nokia, ect. would have to drop their prices in order to maintain profit if service providers didn't use the phones to entice people to sign up for their price gouging scheme.  Lucky for us we live in a free market so we can vote with our pocket book.  I assume you probably work for Verizon so you may not be switching, but if enough people change their provider Verizon will start to feel the affect.  Remember when Cingular used to exist?

  • Deploy Embedded features of WE81IP using MDT 2013

    I would like to deploy Windows Embedded 8.1 Industry Pro and configure the embedded features using MDT 2013 as described in this Windows Embedded
    blog post. I've imported the WE81IP image and created a task sequence but the Install Embedded Features tasks are not available. What do I need to do to make those tasks show up as shown in this image?
    Software Hardware Systems

    I would recommended using Windows System Image Manager (SIM) instead. When you import the WIM file into SIM, you get access to the Embedded Features.
    My book has the details: http://www.annabooks.com/Book_SGSIM.html
    www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

  • Resource Availability

    hi,
    I am facing problem in getting resource availability in staffing tab. I have maintained avialability for BP in RPM_EMPDATA. Please tell me what could be the solution to get availability of BP in staffing.
    Pramod

    Try this
    1) I am assuming you want availability of resources in hrs
    2) Maintain available unit as 1 hour for a BP through trax code- RPM_EMPDATA
    3) Ensure that you are maintaing a valid calendar in a project general tab or in global setting
    4) Ensure that you have start and end date for a resource which is assigned to a role in staffing tab
    5) Based on above setting system should provide available  hrs for a resource in staffing plan from start to end date based on a calendar  assign to a resource.
    Hope this helps, cheers
    Manoj

  • Silent deinstall of OLE DB provider component

    I need to silently uninstall the Oracle Provider for OLEDB for Oracle 8i, install the 9i version to the 8i home and then uninstall the 9i version and re-install it to the 9i home.
    8i and 9i use the Oracle Universal Installer. Has anyone silently uninstalled the OLEDB component? I need to send this to approx 50 pcs and don't really trust the users to click through the uninstall GUI correctly.
    Any help will be greatly appreciated!!
    debby

    Hi Khurasty,
    According to your description, you are experiencing the error when creating linked server from access 2003 using SQL server 2012 in SQL server management studio, right?
    If your SQL Server is 64 bit, you have to use ACE 64 bit instead since there is no 64 bit JET provider available.
    http://www.microsoft.com/en-in/download/details.aspx?id=13255
    http://blogs.msdn.com/b/psssql/archive/2010/01/21/how-to-get-a-x64-version-of-jet.aspx
    Here is a similar issue for you reference.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/bbda9a9c-c821-49e7-9389-9b11987649b9/cannont-create-an-instance-of-ole-db-provider-microsoft-jetoledb-40-for-linked-server-null?forum=sqldataaccess
    Regards,
    Charlie Liao
    TechNet Community Support

  • SharePoint hosting provider

    Hi. I'm starting a new personal website to share some technical articles and some files on the web. I would love to host this site in the SharePoint platform, so I would like to know if somebody could recommend me the best SharePoint hosting provider available, given your experience.
    Thanks,
    Julio

    http://www.myinfoshare.net/
    InfoShare
    InfoShare specializes in providing dedicated and shared hosted solutions for Windows SharePoint Services, as well as MOSS SharePoint Server.  Our SharePoint solutions provide an integrated suite of server capabilities that can help improve organizational effectiveness by providing comprehensive content management and enterprise search, accelerating shared business processes, and facilitating information sharing across boundaries for better business insight.  So if you are a business that is looking to outsource your communication and collaboration needs than give us a call.
    I hope you find this link appropriate and useful.  We at InfoShare would certainly appreciate your business.  Please feel free to contact us at [email protected]  and let us show you what we have to offer!
    Sincerely,
    Larry Stupka
    Larry Stupka

  • Weblogic 12c and EmbeddedContainer

    Hi,
    I have installed new Weblogc Server 12.1.1. Now I'm trying to start the embedded container in a test case. My classpath contains the wlfullclient.jar.
    But I'm getting an exception during startup:
    javax.ejb.EJBException: Error instantiating embedded server
         at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:99)
         at weblogic.ejb.embeddable.EJBContainerImpl.<init>(EJBContainerImpl.java:77)
         at weblogic.ejb.embeddable.EJBContainerProvider.createEJBContainer(EJBContainerProvider.java:17)
         at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
         at br.com.samaiait.poc.service.DocumentoFisicoLocalTest.setUpClass(DocumentoFisicoLocalTest.java:30)
    Caused by: weblogic.server.embed.EmbeddedServerException: Error creating default domain
         at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:235)
         at weblogic.server.embed.internal.DomainConfig.getDefaultDomain(DomainConfig.java:143)
         at weblogic.server.embed.internal.DomainConfig.ensureInitialized(DomainConfig.java:66)
         at weblogic.server.embed.internal.EmbeddedServerImpl.ensureStarted(EmbeddedServerImpl.java:152)
         at weblogic.server.embed.internal.EmbeddedServerImpl.start(EmbeddedServerImpl.java:106)
         at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:96)
         ... 37 more
    Caused by: java.lang.NullPointerException
         at java.io.File.<init>(File.java:251)
         at weblogic.management.utils.PDevHelper.getUpgradeLaunchLocation(PDevHelper.java:79)
         at weblogic.management.utils.PDevHelper.getPDevClassLoader(PDevHelper.java:38)
         at weblogic.management.internal.CIEDomainGenerator.validateConfigFramework(CIEDomainGenerator.java:18)
         at weblogic.server.embed.internal.FullEmbeddedServerProvider.lookupDomainGenerator(FullEmbeddedServerProvider.java:87)
         at weblogic.server.embed.internal.EmbeddedServerProvider.createDefaultDomain(EmbeddedServerProvider.java:138)
         at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:233)
         ... 42 more
    public class HelloTest {
    private static EJBContainer ejbContainer;
    private static Context ctx;
    @BeforeClass
    public static void setUpClass() throws Exception {
    Map properties = new HashMap();
    System.setProperty("weblogic.home", "D:\\dev\\wls1211_dev\\wlserver");
         properties.put(EJBContainer.PROVIDER, "weblogic.ejb.embeddable.EJBContainerProvider");
    ejbContainer = EJBContainer.createEJBContainer(properties);
    ctx = ejbContainer.getContext();
    @AfterClass
    public static void tearDownClass() throws Exception {
    ejbContainer.close();
    @Test
    public void hello() throws NamingException {
    HelloWorld helloWorld = (HelloWorld) ctx.lookup("java:global/classes/HelloWorld");
    Can anybody help me?
    Thanks.

    Sort of tested this as well and encountered the same problem. The enterprise bean looks as follows:
    package model.logic;
    import model.entities.Person;
    import javax.ejb.Local;
    @Local
    public interface Company {
        public void insertPerson(Person person);
        public void removePerson(Integer sofinummer);
        public void updatePerson(Person person);
    }with the implementation
    package model.logic;
    import model.entities.Person;
    import javax.ejb.Stateless;
    @Stateless(name = "Company", mappedName = "Company")
    public class CompanyBean implements Company {
        public void insertPerson(Person person) {
            System.out.println("insert " + person);
        public void removePerson(Integer sofinummer) {
            System.out.println("remove " + sofinummer);
        public void updatePerson(Person person) {
            System.out.println("update " + person);
    }To test the embedded EJB container the following is used
    package test;
    import model.logic.Company;
    import javax.ejb.embeddable.EJBContainer;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import java.io.File;
    import java.util.HashMap;
    import java.util.Map;
    public class Test {
        public static void main(String[] args) {
            Map properties = new HashMap();
            File module = new File("C:\\temp\\frameworks\\Model\\out\\artifacts\\Model\\Model.jar");
            properties.put(EJBContainer.MODULES, module);
            properties.put(EJBContainer.PROVIDER, "weblogic.ejb.embeddable.EJBContainerProvider");
            System.out.println("testing some stuff");
            EJBContainer container = EJBContainer.createEJBContainer(properties);
            Context context = container.getContext();
            try {
                Company company = (Company) context.lookup("java:module/Company");
                company.removePerson(12345);
            } catch (NamingException e) {
                e.printStackTrace();
            container.close();
    }To run the test (after compiling and packaging the different projects in jars) we use the following shell script
    set JAVA_HOME=C:\bea\jdk1.6.0_35
    set MEM_ARGS=-server -Xms512m -Xmx512m -XX:NewRatio=2 -XX:+UseParallelGC -XX:ParallelGCThreads=2 -XX:MaxGCPauseMillis=200 -XX:GCTimeRatio=19 -XX:+UseParallelOldGC
    set CLASSPATH=C:\temp\frameworks\Model\out\artifacts\Model\Model.jar;C:\temp\frameworks\EmbeddedEJB\lib\wlfullclient.jar;C:\temp\frameworks\EmbeddedEJB\out\artifacts\Runner\Runner.jar
    %JAVA_HOME%\bin\java %MEM_ARGS% test.TestThe wlfullclient.jar (for version 12.1.1.0) is build by using the instructions presented here: http://docs.oracle.com/cd/E17904_01/web.1111/e13717/jarbuilder.htm#BABCGHFH
    When the test is run the following is observed:
    C:\temp>run.cmd
    C:\temp>set JAVA_HOME=C:\bea\jdk1.6.0_35
    C:\temp>set MEM_ARGS=-server -Xms512m -Xmx512m -XX:NewRatio=2 -XX:+UseParallelGC -XX:ParallelGCThreads=2 -XX:MaxGCPauseMillis=200 -XX:GCTimeRatio=19 -XX:+UseParallelOldGC
    C:\temp>set CLASSPATH=C:\temp\frameworks\Model\out\artifacts\Model\Model.jar;C:\temp\frameworks\EmbeddedEJB\lib\wlfullclient.jar;C:\temp\frameworks\EmbeddedEJB\out\artifacts\Runner\Runner.jar
    C:\temp>C:\bea\jdk1.6.0_35\bin\java -server -Xms512m -Xmx512m -XX:NewRatio=2 -XX:+UseParallelGC -XX:ParallelGCThreads=2 -XX:MaxGCPauseMillis=200 -XX:GCTimeRatio=19 -XX:+UseParallelOldGC test.Test
    testing some stuff
    Exception in thread "main" javax.ejb.EJBException: Error instantiating embedded server
            at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:99)
            at weblogic.ejb.embeddable.EJBContainerImpl.<init>(EJBContainerImpl.java:77)
            at weblogic.ejb.embeddable.EJBContainerProvider.createEJBContainer(EJBContainerProvider.java:17)
            at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
            at test.Test.main(Test.java:21)
    Caused by: weblogic.server.embed.EmbeddedServerException: Error creating default domain
            at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:235)
            at weblogic.server.embed.internal.DomainConfig.getDefaultDomain(DomainConfig.java:143)
            at weblogic.server.embed.internal.DomainConfig.ensureInitialized(DomainConfig.java:66)
            at weblogic.server.embed.internal.EmbeddedServerImpl.ensureStarted(EmbeddedServerImpl.java:152)
            at weblogic.server.embed.internal.EmbeddedServerImpl.start(EmbeddedServerImpl.java:106)
            at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:96)
            ... 4 more
    Caused by: java.lang.NullPointerException
            at java.io.File.<init>(File.java:222)
            at weblogic.management.utils.PDevHelper.getUpgradeLaunchLocation(PDevHelper.java:79)
            at weblogic.management.utils.PDevHelper.getPDevClassLoader(PDevHelper.java:38)
            at weblogic.management.internal.CIEDomainGenerator.validateConfigFramework(CIEDomainGenerator.java:18)
            at weblogic.server.embed.internal.FullEmbeddedServerProvider.lookupDomainGenerator(FullEmbeddedServerProvider.java:87)
            at weblogic.server.embed.internal.EmbeddedServerProvider.createDefaultDomain(EmbeddedServerProvider.java:138)
            at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:233)
            ... 9 more

  • Can we upgrade our X300 6478-1TU with open-line 3G/HSPDA modem?

    I bought a Lenovo Thinkpad x300 (6478-1TU) in US and want to upgrade it with an embedded Sierra Wireless MC8775 PCI Express Mini Card specified in Lenovo's Hardware Manual which is compatible with the 3G GSM service provider system where I am based, in the Philippines.
    I emailed Sierra Wireless to purchase this product but this is their reply:
    Thank you for your inquiry.  Please note that our MC PCI express line of mini cards are embedded modules that are only available for integration into hardware applications, they are not available for end user purchases.  The MC cards we offer are not finished products, therefore cannot be put into regular PCI card slots.
    In addition, all embedded slots on Laptops have a proprietary BIOS and cannot be re-provisioned by consumer, thus these would not work in your unit.  My suggestion is that you contact your Laptop manufacturer for alternate solutions.
    This is very disappointing since I bought this laptop assuming the SIM Card slot by the battery can be used and just had to be upgraded by a 3G modem like the MC8775. I did not order the customized ones offered optional under Verizon or Cingular because these are locked to the respective providers only.
    I am in the Philippines and want an open line modem for flexibility when travelling abroad. 
    From the parts list:
    http://www-307.ibm.com/pc/support/site.wss/MIGR-69​373.html
    The location of the MC8775 (number 3) should be on the opposite side of the Intel Wireless WiFi Link 4965AGN (number 6) - Installation is back to back, I guess this is difficult to install but possible to do.
    Is it true about the BIOS? Isnt there any BIOS upgrade or only a driver installation needed?
    Can Lenovo assist us with this upgrade? I am willing to send my laptop to China, Siongapore or Hongkong or back to US if my laptop can have this embedded mini card. 
    Solved!
    Go to Solution.

    Lenovo has some awesome videos here which show you how to install parts. The hardware manual is also a very useful resource. The WWAN card is one of the easier to get at... but don't forget about the antenna! I have no idea what antenna is pre-installed in your system. If you remove the keyboard, as in the videos, you should see your WWAN slot and any pre-installed antenna. If there is a WWAN antenna there, you are golden. It is possible to retrofit an antenna, but it is tricky. The LCD disassembly/reassembly video shows it.
    The only guaranteed way to get WWAN would be to find a way to get Lenovo to do it. Doing it yourself, you take some risks. Your warranty becomes void. You may have problems with the installation. It may or may not work in the end.
    Lastly, for everyone else reading this thread bananaman's WWAN rule:
    If there is even just a tiny chance that you will ever use it, order your ThinkPad with WWAN factory-installed!
    The incremental cost is only about +/-$100, depending on the model. In the current ThinkPad models, Retrofitting WWAN is not easy, not cheap, and risky.
    That said, maybe someone out there who has actually done the retrofit can chime in with some advice...
    I don't work for Lenovo. I'm a crazy volunteer!

Maybe you are looking for

  • Get weeks based on start date

    Hi , i need a query that will determine the weeks based on start date. if the table consists of: vDate vAmount 06/25/2007 100 06/27/2007 200 07/04/2007 400 If one enters start date as 6/25/2007 , amounts should be broken out in 7 day increments. Resu

  • Files are not applying in Stand by server.

    Hi All, We are getting the bellow error in standby server while applying log files. Media Recovery Log /oracle/DB7/saparch/DB7arch1_97211_627008903.dbf Errors with log /oracle/DB7/saparch/DB7arch1_97211_627008903.dbf ORA-310 signalled during: ALTER D

  • TM hung up - what to do?

    Mac mini i5 late 2012, HD500GB,16GB 1600 MHz DDR3, OS X 10.8.2 After a problem accessing the Parallels VM, I tried to restore the whole disk. Time Machine hung up after about 2/3 of the process, I waited several hours to be sure, shut down and reboot

  • How to unlock iPhone 4S for use in Norway...

    I've been researching various wifi and/or calling options while we are in Norway for a couple weeks.  My husband and I each have an iPhone 4S's....our service is through Verizon.....but we'll probably only try and convert one phone.   I've learned I

  • Having issues deploying Windows updates

    System Center 2012 Config Manager  - 5.0.7804.1000 running on Win Server 2008 R2 SP1 Approx 75 servers (Mix of Server 2003, 08 and 12) and 60 workstations (All Win 7 x64) I took over managing my companys SCCM 2012 a few months ago.  I have System Cen