Ejbs on Unix

          Hi
          I am working in WL Server on Windows Os. In that os, I am able to Deploy the Ejbs,run the WL Server and also Accessiong the EJBs accounrding to my application.
          But thing is , now we are planning to Shift the Environment to Unix. So. Is these old Ejbs are working fine in Weblogic Server that are running in unix. Or i need to compile and re deploy in the Weblogic server in Unix.
          I also tryed to copy all .jar files with ftp binary mode to my unix server. But its giving the Exception like
          Unable to initialize the server:java.long.NullPointerException fatel initialization exception
          java.long.NullpointerException
          at weblogic.ejb.persistence.Installedpersistence.initialize (installedPersistence.java.251)
          at
          weblogic.ejb.perisistence.installedpersistence<init>9Installedper sistence.java:81)
          If any body give the solution asap that may be most helpful for me. \n
          Thnakx
          Krishna
          [email protected]
          

There is something different between NT and UNIX deployment as far as ejb persistence is concerned. You can first start of with the properties file and then work through the deployment descriptors to figure out whats
          different. If deployment descriptor has to be modified then you will have to run ejbc again I think.
          - Prasad
          Krishna wrote:
          > Hi
          > I am working in WL Server on Windows Os. In that os, I am able to Deploy the Ejbs,run the WL Server and also Accessiong the EJBs accounrding to my application.
          > But thing is , now we are planning to Shift the Environment to Unix. So. Is these old Ejbs are working fine in Weblogic Server that are running in unix. Or i need to compile and re deploy in the Weblogic server in Unix.
          > I also tryed to copy all .jar files with ftp binary mode to my unix server. But its giving the Exception like
          >
          > Unable to initialize the server:java.long.NullPointerException fatel initialization exception
          > java.long.NullpointerException
          > at weblogic.ejb.persistence.Installedpersistence.initialize (installedPersistence.java.251)
          > at
          > weblogic.ejb.perisistence.installedpersistence<init>9Installedper sistence.java:81)
          > ..
          > ..
          >
          > If any body give the solution asap that may be most helpful for me. \n
          > Thnakx
          > Krishna
          > [email protected]
          

Similar Messages

  • Export ejb to unix

    I created an entity bean in windows and sql server using iplanet and forte. How can I export it to aix unix if it has sybase and iplanet ready?

    <i>I created an entity bean in windows and sql server using iplanet and forte. How can I export it to aix unix if it has sybase and iplanet ready?</i>
    You don't have to do anything at all! That's the benefit of Java.
    For example, in iPlanet if you use iasdeploy (or Forte) to deploy to an iAS server you don't even have to know if the destination server is Windows, Solaris, or AIX. You just give the instance name or the host/ip.
    Caveat: Of course its possible to write non-portable code by using JNI or by making assumptions about the file system. But it doesn't sound like you've done anything like that.
    David
    http://www.amazon.com/exec/obidos/ASIN/076454909X/qid%3D1014048522/ref%3Dsr%5F11%5F0%5F1/103-0245424-1390212

  • EJB is not throwing exception to calling Action class in Unix environment

    Hi
    We are using Weblogic Server 9.2.3.0.
    One of our EJB is not throwing exception to calling Action class in Unix environment. Its working fine in Windows.
    Somehow the EJB is swallowing the exception.
    any idea? I suspect it may be environmental issue?
    thank you

    Hi
    We are using Weblogic Server 9.2.3.0.
    One of our EJB is not throwing exception to calling Action class in Unix environment. Its working fine in Windows.
    Somehow the EJB is swallowing the exception.
    any idea? I suspect it may be environmental issue?
    thank you

  • Error creating business service with EJB transport on Unix

    I have ALSB 3.0 installed on a Unix system and I am unable to create a business service based on the EJB transport. After I associate the client jar to the business service, ALSB recognizes the home and remote interfaces in the jar file but as soon as I click the Next button I see the following error:
    An expected exception occurred during the creation or update of this service: null
    If I install ALSB 3.0 on Windows then I am able to create the identical EJB based business service that fails on Unix.
    Has anyone been able to create an EJB based business service on Unix or is this a known issue with ALSB 3.0?
    Thanks for any help!

    Hi irgendwo,
    user profile server must be required when you need the to enable the People Search feature. and this pre-request.
    you can confg search  but you can used because there are many service which are depeded to each other
    check the link for depended services
    http://technet.microsoft.com/en-us/library/ee662538%28v=office.15%29.aspx
    Please verify all the depended service as well which is required in serach service...
    see the below link from MSDN about serch service application ..
    http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
    http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
    Please mark the Answe and vote me if it will you while search configuration

  • Lookup Failure EJB JNDI - StatelessSession Bean Example on Unix

    Hi,
    I am trying to run weblogic 5.1 on Unix. Earlier on, I tried
    running the ejb example: "StatelessSession" on Windows NT and succeeded.
    However I am unable to do so on unix.
    Error message says that the problem is in URL or JNDI name.
    I started the Weblogic Server on Unix and then started the Console
    on my own Desktop i.e. Windows 2000. Then I was able to connect
    to myserver which was running on Unix and could see the EJB deployed
    all ok.
    Now for running this example as and when I try to run the
    java client code (which is a java application / class) I am unable
    to do a lookup for the context.
    I have verified that the DNS name for the Unix box as well as
    port # is correct. Same is true for the JNDI name. My problem appears
    to be of class path.
    I looked up the log file and found out the problem:
    Tue Mar 13 16:41:40 CST 2001:<E> <ServletContext-General> Cannot
    find resource 'classes/examples/ejb/basic/statelessSession/TraderBe
    anHomeImpl_ServiceStub.class' in document root '/app/weblogic/planit/weblogic/myserver/public_html'
    So that means if I place the client files in this directory (i.e.
    public_html) it would run. But I am wondering where do I need to
    specify that the server should look in "ClientClasses" directory
    and not in "public_html" directory.
    What else could be wrong......
    Sincerely,
    Ahmad

    Ahmad,
    This file gets generated when you run java weblogic.ejbc. This is the last
    step in creating the EJB. From the class files, weblogic needs to create the skelton
    and the stub so that they are able to communicate back and forth...
    Peter
    "Ahmad" <[email protected]> wrote:
    >
    Hi All,
    I took a fresh look at the Error as displayed in the log
    file on the Unix machine:
    It says it Cannot find resource 'classes/examples/ejb/basic/statelessSession/TraderBeanHomeImpl_WLStub.class'
    in document root '/app/weblogic/planit/weblogic/myserver/public_html'
    Now I looked under public_html directory and did not find the "classes"
    directory. What I did was :
    1. Created a new "classes" directory under public_html.
    2. copy the whole directory structure from "clienclasses" directory
    and placed it under the newly created directory.
    However to my surprise, could not find TraderBeanHomeImpl_WLStub.class
    When I tried to look for the same file on NT machine, (where this
    example is running all o.k) I still
    could not find it. When is this class generated and what is happening.
    "Ahmad" <[email protected]> wrote:
    Hello There!!
    My class path on unix is set as follows:
    planit@itd00n15> . ./setEnv.sh
    ============= Setting Environment ================
    WL_HOME=/app/weblogic/planit/weblogic
    JAVA_HOME=/usr/java/jdk122a
    CLIENT_CLASSES=/app/weblogic/planit/weblogic/myserver/clientclasses
    SERVER_CLASSES=/app/weblogic/planit/weblogic/myserver/serverclasses
    SERVLET_CLASSES=/app/weblogic/planit/weblogic/myserver/servletclasses
    PATH=/usr/java/jdk122a/bin:/usr/java/jdk122a/bin:/app/weblogic/planit/weblogic/bin:/usr/java/jdk122a/bin:/oracle/product/8.1.6/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/openwin/bin
    CLASSPATH=/usr/java/jdk122a/lib/tools.jar:/app/weblogic/planit/weblogic/license:/app/weblogic/planit/weblogic/classes:/app/weblogic/planit/weblogic/lib/weblogicaux.jar:/app/weblogic/planit/weblogic/eval/cloudscape/lib/cloudscape.jar:/app/weblogic/planit/weblogic/myserver/clientclasses:/app/weblogic/planit/weblogic/myserver/serverclasses
    LD_LIBRARY_PATH=/oracle/product/8.1.6/lib:/app/weblogic/planit/weblogic/lib/solaris:/app/weblogic/planit/weblogic/lib/solaris:/app/weblogic/planit/weblogic/lib/solaris
    I have no idea what is going on!!
    Ahmad
    "Ahmad" <[email protected]> wrote:
    By the way, we are using service pack 4. Would that matter
    on Unix
    for this kind of exception...
    I am not sure, where would I define the class path to
    the client
    stub classes. I mean in which file!!
    Sincerely,
    Ahmad
    "Ahmad" <[email protected]> wrote:
    What directory Structure should I be in in order to
    run
    the
    client. On NT I have to be in "ClientClasses" directory.
    For
    example following example runs fine on Windows NT:
    C:\weblogic\myserver\clientclasses>java examples.ejb.basic.statelessSession.Client
    Beginning statelessSession.Client...
    Creating a trader
    Buying 100 shares of BEAS.
    Buying 200 shares of MSFT.
    Buying 300 shares of AMZN.
    Buying 400 shares of HWP.
    Selling 100 shares of BEAS.
    Selling 200 shares of MSFT.
    Selling 300 shares of AMZN.
    Selling 400 shares of HWP.
    Removing the trader
    End statelessSession.Client...
    However for unix, I tried different directories, I am
    not sure
    which one in the hierarchy am I supposed to be, in order
    to
    run the client.
    By the way, I tried putting the ctx.lookup method ina
    catch block
    and tried to print the stack trace.
    Here is the error which I am getting, irrespective of
    the directory
    hierarchy I am in:
    planit@itd00n15> java examples.ejb.basic.statelessSession.Client
    Beginning statelessSession.Client...
    About to Lookup the JNDI name !!
    The client was unable to lookup the EJBHome. Pleasemake
    sure
    that you have deployed the ejb with the JNDI name statelessSession.TraderHome
    on the WebLogic server at t3://planit-dev.intranet.sprintspectrum.com:10400
    Printing the Stack Trace :
    javax.naming.CommunicationException. Root exceptionis
    java.lang.ClassNotFoundException:
    class examples.ejb.basic.statelessSession.TraderBeanHomeImpl_ServiceStub
    previously not found
    at java.lang.Throwable.fillInStackTrace(Native
    Method)
    at java.lang.Throwable.fillInStackTrace(Compiled
    Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled
    Code)
    at weblogic.rjvm.MsgAbbrev.read(Compiled Code)
    at weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
    at weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
    at weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.java:34)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at weblogic.socket.JVMAbbrevSocket.dispatch(Compiled
    Code)
    at weblogic.socket.JVMSocketT3.dispatch(Compiled
    Code)
    at weblogic.socket.JavaSocketMuxer.processSockets(Compiled
    Code)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled
    Code)
    --------------- nested within: ------------------
    weblogic.rmi.UnmarshalException: Unmarshalling return
    - with nested exception:
    [java.lang.ClassNotFoundException: class examples.ejb.basic.statelessSession.TraderBeanHomeImpl_ServiceStub
    previously not found]
    at java.lang.Throwable.fillInStackTrace(Native
    Method)
    at java.lang.Throwable.fillInStackTrace(Compiled
    Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(IOException.java:47)
    at weblogic.common.T3Exception.<init>(T3Exception.java:47)
    at weblogic.rmi.RemoteException.<init>(RemoteException.java:41)
    at weblogic.rmi.UnmarshalException.<init>(UnmarshalException.java:31)
    at weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.java:256)
    at weblogic.jndi.toolkit.WLContextStub.lookup(Compiled
    Code)
    at javax.naming.InitialContext.lookup(InitialContext.java:349)
    at examples.ejb.basic.statelessSession.Client.lookupHome(Client.java:154)
    at examples.ejb.basic.statelessSession.Client.<init>(Client.java:44)
    at examples.ejb.basic.statelessSession.Client.main(Client.java:86)
    Throwing ne !!
    NamingException Occured!!. Exception Message:
    null
    Sincerely,
    Ahmad
    "Ahmad" <[email protected]> wrote:
    Hi all,
    I am still unable to find out where do I have to
    tell
    weblogic tha the stubs for the client classes are in
    ClientClasses directory.
    Any ideas are welcome.
    Sincerely,
    Ahmad
    "Ahmad" <[email protected]> wrote:
    Hi,
    I am trying to run weblogic 5.1 on Unix. Earlieron,
    I tried
    running the ejb example: "StatelessSession" on Windows
    NT and succeeded.
    However I am unable to do so on unix.
    Error message says that the problem is in URL or
    JNDI
    name.
    I started the Weblogic Server on Unix and then started
    the Console
    on my own Desktop i.e. Windows 2000. Then I was ableto
    connect
    to myserver which was running on Unix and could see
    the
    EJB deployed
    all ok.
    Now for running this example as and when I
    try
    to run the java client code (which is a java application/
    class) I am unable to do a lookup for the context.
    I have verified that the DNS name for the Unix boxas
    well as port # is correct. Same is true for the JNDIname.
    My
    problem appears to be of class path.
    I looked up the log file and found out the problem:
    Tue Mar 13 16:41:40 CST 2001:<E> <ServletContext-General>
    Cannot find 'classes/examples/ejb/basic/statelessSession/TraderBe
    anHomeImpl_ServiceStub.class' in document
    '/app/weblogic/planit/weblogic/myserver/public_html'
    So that means if I place the client files in this
    directory
    (i.e. public_html) it would run. But I am wonderingwhere
    do
    I need to specify that the server should look in
    "ClientClasses" directory and not in "public_html"
    directory.
    What else could be wrong......
    Sincerely,
    Ahmad

  • Error while OSB Building on UNIX Machine

    Hi All,
    I am building OSB Projects on OSB Server on UNIX Machine using ant scripts. The script runs properly on Windows. OSB Version being used is 11.1.1.4. I am getting the following error while creating sbconfig.jar:
    !SESSION 2011-09-05 11:26:40.424 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_23
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Framework arguments: -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configJar /var/build/osb_deployment/deployment/domains/osb/cz-osb-build.jar -configSubProjects Project_A,Project_B,Project_C -includeDependencies true
    Command-line arguments: -data /var/build/osb_deployment/temp -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configJar /var/build/osb_deployment/deployment/domains/osb/cz-osb-build.jar -configSubProjects Project_A,Project_B,Project_C -includeDependencies true
    !ENTRY org.eclipse.osgi 4 0 2011-09-05 11:26:52.492
    !MESSAGE An error occurred while automatically activating bundle com.bea.alsb.core (768).
    !STACK 0
    org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start() of bundle com.bea.alsb.core.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    Root exception:
    java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    !ENTRY org.eclipse.osgi 4 0 2011-09-05 11:26:53.551
    !MESSAGE Application error
    !STACK 1
    org.eclipse.core.runtime.CoreException: Plug-in com.bea.alsb.core was unable to load class com.bea.alsb.core.internal.repositories.ConfigExportApplication.
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.bea.alsb.core (768).
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         ... 16 more
    Caused by: org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start() of bundle com.bea.alsb.core.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         ... 28 more
    Caused by: java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    Please help!!
    Thanks in advance!!
    Regards,
    Karthik
    Edited by: Karthik Krishnamurthy on Sep 5, 2011 2:15 AM

    Hi Karthik
    Looking at the exception stack trace, looks like the root cause is this error: It is not able to find the class "weblogic/descriptor/DescriptorManager"
    java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
    Well you need to set the .JAR that has this class in the classpath before you run your command or script. NOW you have to generate something called wlfullclient.jar.
    If you are using WLS 10.3.x, here is the link on how to generate a client jar file that has almost all the APIs from weblogic.jar and wls-api.jar etc etc. Most of the times, when we want to run WebServices, EJB clients etc as standalone, we need all these classes. So here is the link on how to generate something called "wlfullclient.jar" and put that in classpath or java build path etc.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html (To create wlfullclient.jar)
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/t3.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/basics.html#wp1069994
    NOTE: I already generated this wlfullclient.jar and I do see the above missing class in this .jar file. So hopefully this should solve your issue.
    Thanks
    Ravi Jegga

  • Error in deploying EJB

    the following error is encountered although I have created the user escappuser
    in the default realm. Any help ?
    Unable to deploy EJB: D:\bea8\USER_P~1\domains\EVALGU~1\.\applications\.wlnotdel
    ete\wlap24823\inv_ejb.jar from inv_ejb.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'escappuser' for EJB
    'InvHistoryFtyPoDetailEJB' is not a user in the current realm. The user must exi
    st for the EJB to successfully deploy.
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBe
    anDeploymentInfoImpl.java:1039)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettin
    gs(MBeanDeploymentInfoImpl.java:830)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymen
    tInfoImpl.java:244)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:267)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
    at weblogic.j2ee.Application.addComponent(Application.java:319)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:330)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:590)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:568)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:240)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:747)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:726)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:458)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
    ServerImpl.java:765)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
    xy.java:481)
    at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
    ServerMBean_Stub.java:7271)
    at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
    s(SlaveDeployer.java:1245)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
    ava:397)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
    e(DeploymentManagerServerLifeCycleImpl.java:230)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1268)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:267)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
    at weblogic.j2ee.Application.addComponent(Application.java:319)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:330)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:590)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:568)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:240)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:747)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:726)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:458)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
    ServerImpl.java:765)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
    xy.java:481)
    at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
    ServerMBean_Stub.java:7271)
    at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
    s(SlaveDeployer.java:1245)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
    ava:397)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
    e(DeploymentManagerServerLifeCycleImpl.java:230)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    <Mar 9, 2004 10:05:42 AM GMT+08:00> <Info> <EJB> <BEA-010008> <EJB Deploying fil
    e: bcInterface_ejb.jar>
    <Mar 9, 2004 10:05:42 AM GMT+08:00> <Error> <J2EE> <BEA-160001> <Error deploying
    bcInterface_ejb:
    Unable to deploy EJB: D:\bea8\USER_P~1\domains\EVALGU~1\.\applications\.wlnotdel
    ete\wlap24823\bcInterface_ejb.jar from bcInterface_ejb.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'escappuser' for EJB
    'JobSchedulerMDB' is not a user in the current realm. The user must exist for
    th
    e EJB to successfully deploy.
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBe
    anDeploymentInfoImpl.java:1039)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettin
    gs(MBeanDeploymentInfoImpl.java:830)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymen
    tInfoImpl.java:244)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:267)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
    at weblogic.j2ee.Application.addComponent(Application.java:319)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:330)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:590)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:568)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:240)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:747)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:726)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:458)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
    ServerImpl.java:765)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
    xy.java:481)
    at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
    ServerMBean_Stub.java:7271)
    at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
    s(SlaveDeployer.java:1245)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
    ava:397)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
    e(DeploymentManagerServerLifeCycleImpl.java:230)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    Unable to deploy EJB: D:\bea8\USER_P~1\domains\EVALGU~1\.\applications\.wlnotdel
    ete\wlap24823\bcInterface_ejb.jar from bcInterface_ejb.jar:
    weblogic.ejb20.WLDeploymentException: The run-as principal 'escappuser' for EJB
    'JobSchedulerMDB' is not a user in the current realm. The user must exist for
    th
    e EJB to successfully deploy.
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBe
    anDeploymentInfoImpl.java:1039)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettin
    gs(MBeanDeploymentInfoImpl.java:830)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymen
    tInfoImpl.java:244)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:267)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
    at weblogic.j2ee.Application.addComponent(Application.java:319)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:330)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:590)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:568)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:240)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:747)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:726)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:458)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
    ServerImpl.java:765)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
    xy.java:481)
    at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
    ServerMBean_Stub.java:7271)
    at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
    s(SlaveDeployer.java:1245)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
    ava:397)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
    e(DeploymentManagerServerLifeCycleImpl.java:230)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1268)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:267)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
    at weblogic.j2ee.Application.addComponent(Application.java:319)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:330)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:590)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:568)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:240)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:747)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:726)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:458)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
    ServerImpl.java:765)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
    xy.java:481)
    at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
    ServerMBean_Stub.java:7271)
    at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
    s(SlaveDeployer.java:1245)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
    ava:397)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
    e(DeploymentManagerServerLifeCycleImpl.java:230)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)

    There is a similar command to unix "chmod" under sess_sh, whereby you could do grant permission to the perticular user you act as. I did not encounter this issue since I always use SYS to do it, or as a normal user with JAVASYSPRIV hranted.

  • OIM 11.1.1.5.0 BP02 Generic UNIX Connector Configuration Problem

    I have an inquiry regarding the configuration of the Generic UNIX Connector on 11.1.1.5 of OIM. Basically, when I try to do Primary Group Recon and Shell Recon, I get an error saying:
    Oracle.iam.connectors.icfcommon.exceptions.IntegrationException: The value for a key [Host] is not defined in the provided map.
    I have followed the documentation of the UNIX guide connector and also created an attribute in OIM Design Console called privateKey[LOADFROMFILE] containg a value of file:\\\home\oracle\Oracle\Middleware\Oracle_OIM1\server\ConnectorDefaultDirectory\SSH\config\oim_rsa.
    I also tried to provisioned a user with the UNIX resource but I get an error message saying:
    Running CREATEUSER
    Target Class = oracle.iam.connectors.icfcommon.prov.ICProvisioningManager
    <Jul 2, 2012 6:20:32 PM PHT> <Error> <ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER> <BEA-000000> <oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: The value for a key [Host] is not defined in the provided map.
    at oracle.iam.connectors.icfcommon.util.MapUtil.getRequiredValue(MapUtil.java:94)
    at oracle.iam.connectors.icfcommon.ConnectorFactory.createConnectorFacade(ConnectorFactory.java:122)
    at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.init(ICProvisioningManager.java:133)
    at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.init(ICProvisioningManager.java:141)
    at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.createObject(ICProvisioningManager.java:253)
    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.thortech.xl.adapterGlue.ScheduleItemEvents.adpUNIXCREATEUSER.CREATEUSER(adpUNIXCREATEUSER.java:109)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpUNIXCREATEUSER.implementation(adpUNIXCREATEUSER.java:54)
    at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2917)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:547)
    at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
    at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(tcProvisioningOperationsBean.java:4042)
    at Thor.API.Operations.tcProvisioningOperationsIntfEJB.retryTasksx(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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    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 $Proxy329.retryTasksx(Unknown Source)
    at Thor.API.Operations.tcProvisioningOperationsIntfEJB_4xftoh_tcProvisioningOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcProvisioningOperationsIntfEJB_4xftoh_tcProvisioningOperationsIntfRemoteImpl.retryTasksx(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:85)
    at $Proxy167.retryTasksx(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 $Proxy328.retryTasksx(Unknown Source)
    at Thor.API.Operations.tcProvisioningOperationsIntfDelegate.retryTasks(Unknown Source)
    at com.thortech.xl.webclient.actions.ResourceProfileProvisioningTasksAction.retryTasks(ResourceProfileProvisioningTasksAction.java:702)
    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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(tcLookupDispatchAction.java:133)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:894)
    at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)
    at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
    at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
    at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    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:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:108)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    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:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    I would like to ask if there some configuration step I have missed upon which causes this error?
    Thanks in advance!

    Thanks for the reply! found out that I populated Connector Server with a value hence it was giving out this error. Thanks!
    Edited by: 940359 on Jul 2, 2012 9:08 PM

  • Error in running EJB Client on a remote machine

    I delploy my beans and can run the EJB Client locally. However when I try to run the Client on another machine, there are errors.
    Here is the errors
    Syntax error
    Out of environment space
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/appclient/Main
    I have follow the step in the j2ee tutorial and set the env variables according. Here is the bat file I write
    set APPCPATH=CBSAppClient.jar
    set VMARGS=-Dj2eelogin.name=guest -Dj2eelogin.password=guest123 -Dorg.omg.CORBA.ORBInitialHost=192.168.0.2
    runclient -client CBSApp.ear -name CBSClient -textauth
    Do anyone facing the same problem with me?
    And how can I solve the problems?
    This is really URGENT, please help

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Using EJB with Hibernate on Weblogic Server ADF platform

    Hi all,
    We use Jdeveloper 11.1.1.4 and WLS 10.3
    I tried to use Hibernate on my project according to this link well, EJB with Hibernate On Weblogic
    I wanto use Hibernate tool because toplink and eclipselink can not achieve the issue about generating update* ddl on schema, they can just only re-create the tables -not real update.
    Firstly i got the related jars from internet: http://www.2hotfile.com/di-LSBU.png
    cglib-2.2
    antlr-2.7.6
    commons-collections-3.1
    dom4j-1.6.1
    hibernate3
    hibernate-validator-4.1.0.Final
    javassist-3.9.0.GA
    jta-1.1
    slf4j-api-1.5.11
    slf4j-nop-1.5.11
    Then i added to model project as library dependencies: http://www.2hotfile.com/di-GMSZ.png
    configured persistence.xml as below:
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence 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"
    version="1.0">
    <persistence-unit name="VakkoEJBModel" transaction-type="RESOURCE_LOCAL">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>jdbc/VakkoDS</jta-data-source>
    <properties>
    <property name="hibernate.jndi.url" value="t3://127.0.0.1:7001" />
    <property name="hibernate.connection.datasource" value="jdbc/VakkoDS" />
    <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup" />
    <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" />
    <property name="hibernate.hbm2ddl.auto" value="update" />
    <property name="hibernate.current_session_context_class" value="jta" />
    </properties>
    </persistence-unit>
    </persistence>
    weblogic-application.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <weblogic-application>
    <prefer-application-packages>
    <package-name>antlr.*</package-name>
    <package-name>org.hibernate.*</package-name>
    <!-- package-name>org.apache.commons.logging.*</package-name -->
    <!-- package-name>org.w3c.dom.*</package-name -->
    </prefer-application-packages>
    </weblogic-application>
    weblogic-ejb-jar.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <ejb-jar/>
    And i added to setDomainEnv.cmd that line:
    set EXT_PRE_CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    deployment profile could be seen by clicking those links:
    http://www.2hotfile.com/di-XV68.png
    http://www.2hotfile.com/di-8YC9.png
    http://www.2hotfile.com/di-ADR4.png
    And i tried to manipulate the ear file contents according to these informations: http://middlewaremagic.com/weblogic/wp-content/uploads/2010/06/EAR_Application_Diagram.jpg
    under ear\META-INF\application.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
    <display-name>ejb1</display-name>
    <module>
    <ejb>ejb1.jar</ejb>
    </module>
    </application>
    under ear\META-INF\weblogic-application.xml
    <?xml version = '1.0' encoding = 'windows-1254'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <prefer-application-packages>
    <package-name>org.hibernate.*</package-name>
    <package-name>antlr.*</package-name>
    <!-- package-name>org.apache.commons.logging.*</package-name -->
    <!-- package-name>org.w3c.dom.*</package-name -->
    </prefer-application-packages>
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    The files which existed in ejb1.ear\ejb1.jar\META-INF\ directory same with source folder of model project (these were created by jdeveloper deployment process according to deployment profile which previously explaint)
    ear contents shown that link : http://www.2hotfile.com/di-23X6.png
    When i deploy the project to weblogic by using JDeveloper or http://127.0.0.1:7101/console/ method. But occured exception
    <10-Dec-2012 16:31:54 o'clock EET> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.>
    <10-Dec-2012 16:32:45 o'clock EET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1355149965087' for task '2'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
    weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         Truncated. see log file for complete stacktrace
    >
    <10-Dec-2012 16:32:45 o'clock EET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ejb1'.>
    <10-Dec-2012 16:32:45 o'clock EET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         Truncated. see log file for complete stacktrace
    >
    <10-Dec-2012 16:32:45 o'clock EET> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:349)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:263)
         at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:69)
         at weblogic.ejb.container.deployer.EJBModule.setupPersistenceUnitRegistry(EJBModule.java:223)
         at weblogic.ejb.container.deployer.EJBModule$1.execute(EJBModule.java:324)
         at weblogic.deployment.PersistenceUnitRegistryInitializer.setupPersistenceUnitRegistries(PersistenceUnitRegistryInitializer.java:62)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:393)
    What are my mistake/s or incompletes?
    Please help me and excuse my poor English. Thanks in advance

    Thanks again for your consideration.
    I double checked CLASSPATH. And seen starting wls with classpath which i defined, but no change about ecxeption.
    you can see wls starting classpath through the link: http://www.2hotfile.com/image.php?di=BQNE
    setDomainEnv.cmd
    @ECHO OFF
    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.
    @REM *************************************************************************
    @REM This script is used to setup the needed environment to be able to start Weblogic Server in this domain.
    @REM
    @REM This script initializes the following variables before calling commEnv to set other variables:
    @REM
    @REM WL_HOME - The BEA home directory of your WebLogic installation.
    @REM JAVA_VM - The desired Java VM to use. You can set this environment variable before calling
    @REM this script to switch between Sun or BEA or just have the default be set.
    @REM JAVA_HOME - Location of the version of Java used to start WebLogic
    @REM Server. Depends directly on which JAVA_VM value is set by default or by the environment.
    @REM USER_MEM_ARGS - The variable to override the standard memory arguments
    @REM passed to java.
    @REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    @REM DOMAIN_PRODUCTION_MODE
    @REM - The variable that determines whether the workshop related settings like the debugger,
    @REM testconsole or iterativedev should be enabled. ONLY settable using the
    @REM command-line parameter named production
    @REM NOTE: Specifying the production command-line param will force
    @REM the server to start in production mode.
    @REM
    @REM Other variables used in this script include:
    @REM SERVER_NAME - Name of the weblogic server.
    @REM JAVA_OPTIONS - Java command-line options for running the server. (These
    @REM will be tagged on to the end of the JAVA_VM and
    @REM MEM_ARGS)
    @REM
    @REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @REM (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @REM *************************************************************************
    set COMMON_COMPONENTS_HOME=C:\Oracle\Middleware_11.1.1.4\oracle_common
    for %%i in ("%COMMON_COMPONENTS_HOME%") do set COMMON_COMPONENTS_HOME=%%~fsi
    @REM C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    set CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;%CLASSPATH%;
    set WC_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set PORTLET_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set WC_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set WL_HOME=C:\Oracle\Middleware_11.1.1.4\wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    set BEA_JAVA_HOME=
    set SUN_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_30x64
    if "%JAVA_VENDOR%"=="Oracle" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Sun
              set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_30x64
              @REM set JAVA_HOME=C:\Oracle\Middleware_11.1.1.4\jdk160_21
    @REM We need to reset the value of JAVA_HOME to get it shortened AND
    @REM we can not shorten it above because immediate variable expansion will blank it
    set JAVA_HOME=%JAVA_HOME%
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
    set SAMPLES_HOME=%WL_HOME%\samples
    set DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    set LONG_DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    if "%DEBUG_PORT%"=="" (
         set DEBUG_PORT=8453
    if "%SERVER_NAME%"=="" (
         set SERVER_NAME=DefaultServer
    set DERBY_FLAG=false
    set enableHotswapFlag=
    set PRODUCTION_MODE=
    set doExitFlag=false
    set verboseLoggingFlag=false
    for %%p in (%*) do call :SET_PARAM %%p
    GOTO :CMD_LINE_DONE
         :SET_PARAM
         for %%q in (%1) do set noQuotesParam=%%~q
         if /i "%noQuotesParam%" == "nodebug" (
              set debugFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "production" (
              set DOMAIN_PRODUCTION_MODE=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "notestconsole" (
              set testConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noiterativedev" (
              set iterativeDevFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
              set logErrorsToConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noderby" (
              set DERBY_FLAG=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "doExit" (
              set doExitFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "noExit" (
              set doExitFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "verbose" (
              set verboseLoggingFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "enableHotswap" (
              set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
              GOTO :EOF
         ) else (
              set PROXY_SETTINGS=%PROXY_SETTINGS% %1
         GOTO :EOF
    :CMD_LINE_DONE
    set MEM_DEV_ARGS=
    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
         set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
    if "%PRODUCTION_MODE%"=="true" (
         set debugFlag=false
         set testConsoleFlag=false
         set iterativeDevFlag=false
         set logErrorsToConsoleFlag=false
    @REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
    @REM Please uncomment the following lines and add a valid value for the environment variables
    @REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
    @REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
    @REM set PATCH_PATH=[myPatchPath] (windows)
    @REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
    @REM PATCH_LIBPATH=[myPatchLibpath] (unix)
    @REM PATCH_PATH=[myPatchPath] (unix)
    call "%WL_HOME%\common\bin\commEnv.cmd"
    set WLS_HOME=%WL_HOME%\server
    set XMS_SUN_64BIT=256
    set XMS_SUN_32BIT=256
    set XMX_SUN_64BIT=512
    set XMX_SUN_32BIT=512
    set XMS_JROCKIT_64BIT=256
    set XMS_JROCKIT_32BIT=256
    set XMX_JROCKIT_64BIT=512
    set XMX_JROCKIT_32BIT=512
    if "%JAVA_VENDOR%"=="Sun" (
         set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         echo this is suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuun
    ) else (
         set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         echo this is noooooooooooooooooooooooooooooooooooooooooooooooot sun
    if "%JAVA_VENDOR%"=="Oracle" (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_JROCKIT_64BIT%m -Xmx%XMX_JROCKIT_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_JROCKIT_32BIT%m -Xmx%XMX_JROCKIT_32BIT%m
    ) else (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_SUN_64BIT%m -Xmx%XMX_SUN_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_SUN_32BIT%m -Xmx%XMX_SUN_32BIT%m
    set MEM_ARGS_64BIT=%CUSTOM_MEM_ARGS_64BIT%
    set MEM_ARGS_32BIT=%CUSTOM_MEM_ARGS_32BIT%
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_ARGS=%MEM_ARGS_64BIT%
    ) else (
         set MEM_ARGS=%MEM_ARGS_32BIT%
    set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
    set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_64BIT%
    ) else (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_32BIT%
    set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=512m
    set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=512m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_64BIT%
    ) else (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_32BIT%
    if "%JAVA_VENDOR%"=="Sun" (
         if "%PRODUCTION_MODE%"=="" (
              set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
    @REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
    if "%JAVA_VENDOR%"=="Sun" (
         set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="HP" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="Apple" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    @REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
    set USER_MEM_ARGS=-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    if NOT "%USER_MEM_ARGS%"=="" (
         set MEM_ARGS=%USER_MEM_ARGS%
    set ORACLE_DOMAIN_CONFIG_DIR=%DOMAIN_HOME%\config\fmwconfig
    for %%i in ("%ORACLE_DOMAIN_CONFIG_DIR%") do set ORACLE_DOMAIN_CONFIG_DIR=%%~fsi
    set WLS_JDBC_REMOTE_ENABLED=-Dweblogic.jdbc.remoteEnabled=false
    if "%WC_OHOME_ARGUMENT%"=="" (
         set WC_OHOME_ARGUMENT=-Dwc.oracle.home=%WC_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dwc.oracle.home=%WC_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    if "%PORTLET_OHOME_ARGUMENT%"=="" (
         set PORTLET_OHOME_ARGUMENT=-Dportlet.oracle.home=%PORTLET_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dportlet.oracle.home=%PORTLET_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    if "%WC_OHOME_ARGUMENT%"=="" (
         set WC_OHOME_ARGUMENT=-Dwc.oracle.home=%WC_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dwc.oracle.home=%WC_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
    set ALT_TYPES_DIR=%COMMON_COMPONENTS_HOME%\modules\oracle.ossoiap_11.1.1,%COMMON_COMPONENTS_HOME%\modules\oracle.oamprovider_11.1.1
    set PROTOCOL_HANDLERS=oracle.mds.net.protocol
    if "%JAVA_VENDOR%"=="Sun" (
         set EXTRA_JAVA_PROPERTIES=-XX:+UseParallelGC -XX:+DisableExplicitGC %EXTRA_JAVA_PROPERTIES%
    ) else (
         if "%JAVA_VENDOR%"=="Oracle" (
              set EXTRA_JAVA_PROPERTIES=-Djrockit.codegen.newlockmatching=true %EXTRA_JAVA_PROPERTIES%
         ) else (
              set EXTRA_JAVA_PROPERTIES=-XX:+UseParallelGC -XX:+DisableExplicitGC %EXTRA_JAVA_PROPERTIES%
    set PROTOCOL_HANDLERS=%PROTOCOL_HANDLERS:;="|"%
    @REM To use Java Authorization Contract for Containers (JACC) in this domain,
    @REM please uncomment the following section. If there are multiple machines in
    @REM your domain, be sure to edit the setDomainEnv in the associated domain on
    @REM each machine.
    @REM
    @REM -Djava.security.manager
    @REM -Djava.security.policy=location of weblogic.policy
    @REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
    @REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
    @REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl
    set EXTRA_JAVA_PROPERTIES=-Doracle.webcenter.tagging.scopeTags=false %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Doracle.webcenter.analytics.disable-native-partitioning=false %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -noverify %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Dwsm.repository.path=%DOMAIN_HOME%\oracle\store\gmds %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Dcommon.components.home=%COMMON_COMPONENTS_HOME% -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=%DOMAIN_HOME% -Djrockit.optfile=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=%ORACLE_DOMAIN_CONFIG_DIR%\servers\%SERVER_NAME% -Doracle.domain.config.dir=%ORACLE_DOMAIN_CONFIG_DIR% -Digf.arisidbeans.carmlloc=%ORACLE_DOMAIN_CONFIG_DIR%\carml -Digf.arisidstack.home=%ORACLE_DOMAIN_CONFIG_DIR%\arisidprovider -Doracle.security.jps.config=%DOMAIN_HOME%\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=%DOMAIN_HOME%\servers\%SERVER_NAME%\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=%ALT_TYPES_DIR% -Djava.protocol.handler.pkgs=%PROTOCOL_HANDLERS% %WLS_JDBC_REMOTE_ENABLED% %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Djps.app.credential.overwrite.allowed=true %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
    set ARDIR=%WL_HOME%\server\lib
    pushd %LONG_DOMAIN_HOME%
    @REM Clustering support (edit for your cluster!)
    if "%ADMIN_URL%"=="" (
         @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
    ) else (
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
    if NOT "%LOG4J_CONFIG_FILE%"=="" (
         set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
    set JAVA_DEBUG=
    if "%debugFlag%"=="true" (
         set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
    ) else (
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
    if NOT exist %JAVA_HOME%\lib (
         echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
         echo Please edit your environment and set the JAVA_HOME
         echo variable to point to the root directory of your Java installation.
         popd
         pause
         GOTO :EOF
    if "%DERBY_FLAG%"=="true" (
         set DATABASE_CLASSPATH=%DERBY_CLASSPATH%
    ) else (
         set DATABASE_CLASSPATH=%DERBY_CLIENT_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar
    if NOT "%PRE_CLASSPATH%"=="" (
         set PRE_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;%PRE_CLASSPATH%
    ) else (
         set PRE_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar
    if "%PORTLET_ORACLE_HOME%"=="" (
         set POST_CLASSPATH=%WC_ORACLE_HOME%\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;%POST_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=C:\Oracle\Middleware_11.1.1.4\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=C:\Oracle\Middleware_11.1.1.4\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar
    set POST_CLASSPATH=%PORTLET_ORACLE_HOME%\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;%POST_CLASSPATH%
    set POST_CLASSPATH=%DOMAIN_HOME%\wcps-lib\derby-10.6.1.0.jar;%DOMAIN_HOME%\wcps-lib\derbytools-10.6.1.0.jar;%POST_CLASSPATH%
    if NOT "%DATABASE_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%DATABASE_CLASSPATH%
    if NOT "%ARDIR%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%ARDIR%\xqrl.jar
         ) else (
              set POST_CLASSPATH=%ARDIR%\xqrl.jar
    @REM PROFILING SUPPORT
    set JAVA_PROFILE=
    set SERVER_CLASS=weblogic.Server
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
    if "%PRODUCTION_MODE%"=="true" (
         set JAVA_OPTIONS= -Dweblogic.ProductionModeEnabled=true %JAVA_OPTIONS%
    @REM -- Setup properties so that we can save stdout and stderr to files
    if NOT "%WLS_STDOUT_LOG%"=="" (
         echo Logging WLS stdout to %WLS_STDOUT_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
    if NOT "%WLS_STDERR_LOG%"=="" (
         echo Logging WLS stderr to %WLS_STDERR_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
    @REM ADD EXTENSIONS TO CLASSPATHS
    @REM set EXT_PRE_CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    if NOT "%EXT_PRE_CLASSPATH%"=="" (
         if NOT "%PRE_CLASSPATH%"=="" (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
         ) else (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%
    if NOT "%EXT_POST_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%EXT_POST_CLASSPATH%
    if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    @REM SET THE CLASSPATH
    if NOT "%WLP_POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WLP_POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WLP_POST_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%POST_CLASSPATH%
    if NOT "%WEBLOGIC_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%
    if NOT "%PRE_CLASSPATH%"=="" (
         set CLASSPATH=%PRE_CLASSPATH%;%CLASSPATH%
    if NOT "%JAVA_VENDOR%"=="BEA" (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    ) else (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    startWebLogic.cmd
    @ECHO OFF
    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.
    SETLOCAL
    @REM --- Start Functions ---
    @REM set JAVA_OPTIONS=-javaagent:C:\jarlar\jrebel\jrebel.jar %JAVA_OPTIONS%
    @REM set CLASS_CACHE=false
    GOTO :ENDFUNCTIONS
    :stopAll
         @REM We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
         if NOT "X%ALREADY_STOPPED%"=="X" (
              GOTO :EOF
         @REM STOP DERBY (only if we started it)
         if "%DERBY_FLAG%"=="true" (
              echo Stopping Derby server...
              call "%WL_HOME%\common\derby\bin\stopNetworkServer.cmd" >"%DOMAIN_HOME%\derbyShutdown.log" 2>&1
              echo Derby server stopped.
         set ALREADY_STOPPED=true
    GOTO :EOF
    :classCaching
         echo Class caching enabled...
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlaunch.main.class=%SERVER_CLASS% -Dlaunch.class.path="%CLASSPATH%" -Dlaunch.complete=weblogic.store.internal.LockManagerImpl -cp %WL_HOME%\server\lib\pcl2.jar
         set SERVER_CLASS=com.oracle.classloader.launch.Launcher
    GOTO :EOF
    :ENDFUNCTIONS
    @REM --- End Functions ---
    @REM *************************************************************************
    @REM This script is used to start WebLogic Server for this domain.
    @REM
    @REM To create your own start script for your domain, you can initialize the
    @REM environment by calling @USERDOMAINHOME\setDomainEnv.
    @REM
    @REM setDomainEnv initializes or calls commEnv to initialize the following variables:
    @REM
    @REM BEA_HOME - The BEA home directory of your WebLogic installation.
    @REM JAVA_HOME - Location of the version of Java used to start WebLogic
    @REM Server.
    @REM JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
    @REM PATH - JDK and WebLogic directories are added to system path.
    @REM WEBLOGIC_CLASSPATH
    @REM - Classpath needed to start WebLogic Server.
    @REM PATCH_CLASSPATH - Classpath used for patches
    @REM PATCH_LIBPATH - Library path used for patches
    @REM PATCH_PATH - Path used for patches
    @REM WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
    @REM JAVA_VM - The java arg specifying the VM to run. (i.e.
    @REM - server, -hotspot, etc.)
    @REM USER_MEM_ARGS - The variable to override the standard memory arguments
    @REM passed to java.
    @REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    @REM DERBY_HOME - Derby home directory.
    @REM DERBY_CLASSPATH
    @REM - Classpath needed to start Derby.
    @REM
    @REM Other variables used in this script include:
    @REM SERVER_NAME - Name of the weblogic server.
    @REM JAVA_OPTIONS - Java command-line options for running the server. (These
    @REM will be tagged on to the end of the JAVA_VM and
    @REM MEM_ARGS)
    @REM CLASS_CACHE - Enable class caching of system classpath.
    @REM
    @REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @REM (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @REM *************************************************************************
    @REM Call setDomainEnv here.
    set DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    call "%DOMAIN_HOME%\bin\setDomainEnv.cmd" %*
    set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS%
    set SAVE_CLASSPATH=%CLASSPATH%
    @REM Start Derby
    set DERBY_DEBUG_LEVEL=0
    if "%DERBY_FLAG%"=="true" (
         call "%WL_HOME%\common\derby\bin\startNetworkServer.cmd" >"%DOMAIN_HOME%\derby.log" 2>&1
    set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS%
    set SAVE_JAVA_OPTIONS=
    set CLASSPATH=%SAVE_CLASSPATH%
    set SAVE_CLASSPATH=
    if "%PRODUCTION_MODE%"=="true" (
         set WLS_DISPLAY_MODE=Production
    ) else (
         set WLS_DISPLAY_MODE=Development
    if NOT "%WLS_USER%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.username=%WLS_USER%
    if NOT "%WLS_PW%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.password=%WLS_PW%
    if NOT "%MEDREC_WEBLOGIC_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
         ) else (
              set CLASSPATH=%MEDREC_WEBLOGIC_CLASSPATH%
    echo .
    echo .
    echo JAVA Memory arguments: %MEM_ARGS%
    echo .
    echo WLS Start Mode=%WLS_DISPLAY_MODE%
    echo .
    echo CLASSPATH=%CLASSPATH%
    echo .
    echo PATH=%PATH%
    echo .
    echo ***************************************************
    echo * To start WebLogic Server, use a username and *
    echo * password assigned to an admin-level user. For *
    echo * server administration, use the WebLogic Server *
    echo * console at http:\\hostname:port\console *
    echo ***************************************************
    @REM CLASS CACHING
    if "%CLASS_CACHE%"=="true" (
         CALL :classCaching
    @REM START WEBLOGIC
    echo starting weblogic with Java version:
    %JAVA_HOME%\bin\java %JAVA_VM% -version
    if "%WLS_REDIRECT_LOG%"=="" (
         echo Starting WLS with line:
         echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
         %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
    ) else (
         echo Redirecting output from WLS window to %WLS_REDIRECT_LOG%
         %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% >"%WLS_REDIRECT_LOG%" 2>&1
    CALL :stopAll
    popd
    @REM Exit this script only if we have been told to exit.
    if "%doExitFlag%"=="true" (
         exit
    ENDLOCAL
    Edited by: webyildirim on 11.Ara.2012 02:38

  • Start order between WTC server and EJBs provides exported services

    Using WLS 10.3.0 and Tuxedo 11.1.1.2.0 (32-bit) with WTC as the communication bus between the 2 platforms....
    Running load balancing/failover inside Tuxedo using the cluster setup as described by:
    http://docs.oracle.com/cd/E13222_01/wls/docs81/wtc_admin/Cluster.html#1110847
    and got WLS rigged in a cluster with 2 nodes (managed servers) on separate machines. When I take down and up one of the nodes soft (with start/stop scripts) everything works fine during shutdown but not upon starting. What I think happens is that the WTC server starts first before the EJBs that provide exported services. In the Tuxedo log a connection is first established then a ton of TPENOENT until the EJBs get going. Any way to reorder these resources during start up? So that the EJBs are ready first prior to the WTC server?
    mvh / Matthew Young

    Q8. What versions of Tuxedo are supported?
    A8. WTC 1.0 will support Tuxedo 6.5 and Tuxedo 8.0. WTC 1.1 (which adds
    CORBA support) will support Tuxedo 6.5 and Tuxedo 8.0. Soon after the
    release of both of these products we will certify WTC with Tuxedo 7.1.
    However, the version of Tuxedo 7.1 you will need to have will be Tuxedo 7.1
    after a certain patch level, which I don't know the number of yet. I will
    attempt to keep the public informed about which patch level will be required
    in Tuxedo 7.1
    Q9. What WLS Releases will be supported?
    A9. WTC 1.0 will be certified on WLS 6.0 SP2, WTC 1.1 will be bundled with
    WLS SilverSword release (6.1?)
    Q10. How will WTC be packaged?
    A10. WTC 1.0 will be a separately downloaded binary (one for unix, one for
    NT) that the user will have to install and configure in his/her WLS
    environment. (Configuration will consist of putting the jatmi.jar file into
    the classpath (as well as the normal BDMCONFIG configuration, of course)).
    WTC 1.1 will be bundled right in there with the WLS SilverSword release.
    Q11. When will WTC go live (no more beta)?
    A11. This is a question for Jeff Cutler, but my impression is that WTC 1.0
    will be shipped in the same time-frame as the Tuxedo 8.0 release and
    obviously (see A10) WTC 1.1 will be shipped with WLS SilverSword.
    John Wells (Aziz)
    [email protected]

  • *Urgent* Deploy java component to UNIX

    Hi everyone,
    I have a little problem, please help.
    I have to write a java executable program
    that will read a XML file parse it and then update the Oracle database version 7.
    I will have to write my code on WinNT, this java execuatable program will be invoked by some other program in UNIX.. I dont have to worry about how to invoke it, beacuse other will have to. My task it only to write the program and store it somewhere on the UNIX file system and tell them where the file is.
    My question is:
    We are using HP and IBM version.
    Do I have to install JDBC to UNIX? Or Do I have to install the JDK or what should the Unix OS should have so that my program can talk to the Database and at the same time use the XML parser.
    Thank you very much for your help
    Lan T

    Hi,
    I don't think that OAS can act as a container for RMI-applications, at least I havent't read about that anywhere. On the other hand, you can easily use rmid from the jdk for that tast, so this shouldn't be the problem.
    What you can do is create an EJB with the JDev-wizard and deploy it to OAS using the deployment wizard. That works fine. But of course, you have to act as an EJB-client to connect to it. (You can find a tutorial for JDev 3.0 on this site choosing Documentation)
    As far as Applicationmodules are concerned, there are wizards included in JDev that let you deploy to OAS. I myself never succeeded in doing so, the wizards and OAS seem to be very buggy. There is a note on metalink.oracle.com: 114335.1 which describes the deployment of Applicationmodules to OAS. Other people report to have succeded, whereas it wouldn't work for me.

  • EJB and Jdk1.5 problem

    We are trying to migrate jdk 1.4 (wl 8.1) to jdk1.5 (wl 9.1), when we complie Java source code and build EJB ( using Ant/build.xml), we got following error and can not proceed any further.
    [java] /home/fipdev/DeltaOne/newproductimport/ejbcgen/com/leh/deltaone/ejb/business/newproductimport/DONewProductImportAccessor_41o8gs_Impl.java:12: cannot access com.leh.deltaone.ejb.business.newproductimport.DONewProductImportAccessorBean
    [java] bad class file: /home/fipdev/DeltaOne/newproductimport/ejbcgen/com/leh/deltaone/ejb/business/newproductimport/DONewProductImportAccessorBean.class
    [java] class file has wrong version 49.0, should be 48.0
    [java] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [java] extends DONewProductImportAccessorBean
    [java] ^
    [java] 1 error
    [java] Exec failed .. exiting
    [java] Java Result: 1
    49.0 means using jdk1.5 and 48.0 means using jdk1.4, we do use jdk 1.5 in our development server and could verify by
    bash-2.03$ java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    do you know why?
    Michael Zou

    Much appreciated your reply, I used both Windows and Unix system and Ant to build EJB, both CLASSPATH and PATH are configured to Jdk 1.5 version.
    CLASSPATH=C:\bea\jdk150_06\lib and PATH=C:\bea\jdk150_06\bin, and verify that it is 1.5 not 1.4 version.
    C:\Eclipse_WorkSpace\DeltaOne\ant>java -version
    java version "1.5.0_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
    Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
    but still getting error, any an idea? thank you again.
    Michael

  • Exception not throwing to action class in Unix environment

    Hi
    We are using Weblogic Server 9.2.3.0.
    One of our EJB is not throwing exception to calling Action class in Unix environment. Its working fine in Windows.
    Somehow the EJB is swallowing the exception.
    any idea? I suspect it may be environmental issue?
    thank you

    Thanx for your reply.. I just found a solution and would like to share that with you. There are some default request parameters passed by the portal to the action class. "strutsAction" is one of them. If you print this parameters, you will see that it contains the complete url of your action. Now you can use String manipulation to extract the value of the parameters.
    I know its a crude solution. But it works fine.
    Best regards,
    Omer

  • EJB does not connect to IP through WebLogic

              Hi All--
              Here is the problem. My servlet makes calls to EJB's in the hopes of connecting
              to an IP address outside of my firewall through WebLogic. It doesn't attempt
              a connection. I know my code is correct because an application version of this
              servlet successfully hits the IP when run at a Unix prompt. What kind of configurations
              are required to make WebLogic attempt a foreign IP connection.
              thank you in advance,
              Dave
              

    It happened to me sometimes, try to activate airplane mode for a few seconds and deactivate it, hope this helps

Maybe you are looking for