Loading Server_Stub When Starting Server

Is it possible to have a Remote Server Class ***Stub.class, that does not reside in the local classpath but rather the codebase or any http server?  I would like to call: (java -D.... ServerImpl args) and before I export myself within ServerImpl, I use a URLConnection or something to get ServerImplStub from a remote location and load into the local JVM so the Stub is found when I start the Remote Server.
So you know, I do not use rmiregistry, I start my server like this: (simple example)
import java.rmi.server.ObjID;
import java.rmi.RemoteException;
import sun.rmi.transport.LiveRef;
import sun.rmi.server.UnicastServerRef;
public class BigDogImpl extends UnicastRemoteRef implements BigDog
     public static void main(String[] args) throws Exception
          // do some stuf none related here
         new BigDogImpl();
     public BigDogImpl() throws Exception
          super(new LiveRef(new ObjID(999), 1099));
          // right here our maybe in main, load the BigDigImpl_Stub via http into local jvm??
          // the idea is to have loaded the stub file from a remote location and made it available to JVM so this line works
          exportObject(this, null);
          while(true)
               try{ Thread.currentThread().sleep(Long.MAX_VALUE); }
               catch(Exception e)[}
     // BigDog interface definitions here
// The client would get a RemoteRef like this:
// all clients export pieces of themselves, so they define the same codebase as server
// becuase of this, I can use RMIClassLoader.getClassAnnotation(Class remoteClass) for codebase
Class stub = RMIClassLoader.loadClass(RMIClassLoader.getClassAnnotation(clientClass), "BigDogImpl_Stub");
Constructor stubConstructor = stub.getConstructor(new Class[]{RemoteRef.class});
LiveRef liveRef = new LiveRef(new ObjID(999), new TCPEndpoint("host", 1099), false);
RemoteRef[] remoteRef = {(RemoteRef)(new UnicastRef(liveRef))};
BigDog bigDog = (BigDog)stubConstructor.newInstance(remoteRef);
bigDog.bigBark();By the way, the above forbidden code has worked since jdk1.2 so I have been lucky the API has not changed. If it does, I dont have to change much! I mean, the above code is what runs when implementing a public API RemoteServer and Client. I use it becuase it removes a point of failure, RMIREGISTRY. No matter how stable it may or may not be, it is still something extra to ensure is working properly.

I have figured this out by overridding a method within UnicastServerRef called setSkeleton(). This is the method which is responsible for creating the RemoteStub object utilizing default class loader. So naturally the one I need to adjust.
public RemoteStub setSkeleton(Remote remote) throws RemoteException
     try
          URLClassLoader loader = new URLClassLoader(new URL[]{CODEBASE)});
          Class c = loader.loadClass(remote.getClass().getName() + "_Stub");
          Constructor constructor = c.getConstructor(new Class[]{RemoteRef.class});
          return (RemoteStub)constructor.newInstance(new Object[]{getClientRef()});
     catch(Exception e)
          throw new RemoteException("", e);
}My implementation is a combination of UnicastServerRef's setSkeleton and RemoteProxy.getStub(). setKeleton calls RemoteProxy.getStub() which is where my StubNotFoundException was generated. So All i did was bypass this process by overriding setSkeleton().
// UnicastServerRef.setSkeleton() returns this
return RemoteProxy.getStub(.....);
So now I only need to maintain stub files in the codebase. No remote server needs them locally.
If anyone knows how this can be done with a custom classloader and public API, I'm all ears.

Similar Messages

  • Error when starting server from NetWeaver Studio

    I get the following error when i start the server from NetWeaver studio. Any reason why this error pops up.
    Problem Occurred:
    Startting Server - SAP Server E<24> (Time of error.....)
    Reason :
    JsfOpenAdmin failed: object not found.
    However I can start and stop the server from the management console.
    thanks,
    Sahir
    Edited by: Sahir Pathan on Jul 14, 2008 5:30 PM

    Hello Sahir,
    Can you post some other error logs ?
    Regards,
    Siddhesh

  • Dreamweaverhelper loads twice when starting Dreamweaver

    Should Dreamweaverhelper.exe be loaded twice when launching Dreamweaver CC 2014?   This is happening according to "Windows Task manager".
    Is there a fix for this?

    What version of SAP-GUI are you using ? SAP-GUI 7.2 (latest version) was heavily rewritten using Visual Studio and SAP has stated that certain features that existed in earlier SAP-GUI versions are no longer available (it's Microsoft's Fault). It is also quite possible that your initial launch macro in Excel is causing the problem.
    I would personally recommend that you do NOT launch Bex Analyzer when Excel opens, unless this is  your primary method to interact with Bex workbooks and such. That may resolve your issue.

  • Error  when starting server -urgent

    Hi friends
    When I try to start the weblogic server I am getting thre following error message
    at the console. Everything was working fine last week.
    I create the .ear file from websphere studio and move to the applications directory
    under weblogic.
    The error says failed on recompiling JSP's , I tried to turn off that option but
    after I start the server it comes back again
    Please advise
    -INF\lib\design_pro51224.jar;C:\bea\user_projects\backorderDomain\.\boServer\.wl
    notdelete\_appsdir_backorder_ear_backorderWeb.war_1579863\jarfiles\WEB-INF\lib\e
    tools51225.jar;C:\bea\user_projects\D
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:61)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:546)
    at java.lang.Runtime.exec(Runtime.java:472)
    at java.lang.Runtime.exec(Runtime.java:438)
    at weblogic.utils.Executable.exec(Executable.java:208)
    at weblogic.utils.Executable.exec(Executable.java:133)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvo
    ker.java:545)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:
    354)
    at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:205)
    at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:55)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4133)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4126)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
    (WebAppServletContext.java:1932)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:1065)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:1001)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:467)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:318)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:1476)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:652)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:552)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:1056)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:724)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    >
    <Jul 21, 2003 2:47:03 PM EDT> <Error> <Deployer> <149201> <The Slave Deployer
    fa
    iled to complete the deployment task with id 1 for the application appsdirback
    order_ear.
    weblogic.management.ApplicationException: Prepare failed. Task Id = 0
    Module Name: backorderWeb.war, Error: Could not load backorderWeb.war: weblogic.
    utils.NestedException: appsdirbackorder_ear:backorderWeb.war Failure while Pre
    compiling JSPs: java.io.IOException: Compiler failed executable.exec(java.lang.S
    tring[e:\opt\weblogic\7.0\jdk131_02\bin\javac, -classpath, "C:\bea\jdk131_03\jre
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I figured it out
    problem with the javac classpath for JSP
    "DN" <[email protected]> wrote:
    >
    Hi friends
    When I try to start the weblogic server I am getting thre following
    error message
    at the console. Everything was working fine last week.
    I create the .ear file from websphere studio and move to the applications
    directory
    under weblogic.
    The error says failed on recompiling JSP's , I tried to turn off that
    option but
    after I start the server it comes back again
    Please advise
    -INF\lib\design_pro51224.jar;C:\bea\user_projects\backorderDomain\.\boServer\.wl
    notdelete\_appsdir_backorder_ear_backorderWeb.war_1579863\jarfiles\WEB-INF\lib\e
    tools51225.jar;C:\bea\user_projects\D
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:61)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:546)
    at java.lang.Runtime.exec(Runtime.java:472)
    at java.lang.Runtime.exec(Runtime.java:438)
    at weblogic.utils.Executable.exec(Executable.java:208)
    at weblogic.utils.Executable.exec(Executable.java:133)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvo
    ker.java:545)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:
    354)
    at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:205)
    at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:55)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4133)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
    ervletContext.java:4126)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
    (WebAppServletContext.java:1932)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:1065)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:1001)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:467)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:318)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:1476)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:652)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:552)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:1056)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:724)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    >
    <Jul 21, 2003 2:47:03 PM EDT> <Error> <Deployer> <149201> <The Slave
    Deployer
    fa
    iled to complete the deployment task with id 1 for the application appsdirback
    order_ear.
    weblogic.management.ApplicationException: Prepare failed. Task Id = 0
    Module Name: backorderWeb.war, Error: Could not load backorderWeb.war:
    weblogic.
    utils.NestedException: appsdirbackorder_ear:backorderWeb.war Failure
    while Pre
    compiling JSPs: java.io.IOException: Compiler failed executable.exec(java.lang.S
    tring[e:\opt\weblogic\7.0\jdk131_02\bin\javac, -classpath, "C:\bea\jdk131_03\jre

  • J2EE PetStore Application -- RDBMSException when starting server

    Folks,
    I'm trying to install Sun's J2EE PetStore application using the instructions at: http://developer.java.sun.com/developer/technicalArticles/Programming/deployathon2/BEAreadme.html#dlapp
    When I attempt to start the WebLogic server using the "startPetStore.cmd" file, I receive the exception below. Has anyone got any helpful advice to offer?
    Thanks,
    -=Helen=-
    Thu Sep 21 12:28:47 EDT 2000:<I> <WebLogicServer> Loaded License : C:/weblogic/license/WebLogicLicense.xml
    Thu Sep 21 12:28:47 EDT 2000:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    Unable to initialize server: com.bea.estore.rdbmsrealm.RDBMSException: realm initialization failed, action 'DriverManager.getConnection', - with nested exception:
    [SQL Exception: Failed to start database 'petStoreDB', see the next exception for details.]
    fatal initialization exception
    com.bea.estore.rdbmsrealm.RDBMSException: realm initialization failed, action 'DriverManager.getConnection', - with nested exception:
    [SQL Exception: Failed to start database 'petStoreDB', see the next exception for details.]
    at com.bea.estore.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:169)
    at com.bea.estore.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at com.bea.estore.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    at com.bea.estore.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java:757)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1084)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

    I had the same problem. I ran this as a batch file to update the petStoreDB and it worked thereafter.
    java -classpath c:\weblogic\eval\cloudscape\lib\cloudscape.jar;C:\jdk1.2.2;c:\weblogic\weblogic510sp3.jar;c:\weblogic\classes;c:\weblogic\lib\weblogicaux.jar;c:\weblogic\license;c:\weblogic\myserver\clientclasses; utils.Schema jdbc:cloudscape:petStoreDB;create=true COM.cloudscape.core.JDBCDriver -verbose c:\weblogic\petstore\WLSrc\db\petStore.ddl
    Horance Chou <[email protected]> wrote:
    I got the same problem before, and it's fixed by update new Schema.
    use utils.Schema to update the petStoreDB with <petstore>\WLSrc\db\petstore.ddl
    with Regrads.
    Horance
    Helen Seabold wrote:
    Folks,
    I'm trying to install Sun's J2EE PetStore application using the instructions at: http://developer.java.sun.com/developer/technicalArticles/Programming/deployathon2/BEAreadme.html#dlapp
    When I attempt to start the WebLogic server using the "startPetStore.cmd" file, I receive the exception below. Has anyone got any helpful advice to offer?
    Thanks,
    -=Helen=-
    Thu Sep 21 12:28:47 EDT 2000:<I> <WebLogicServer> Loaded License : C:/weblogic/license/WebLogicLicense.xml
    Thu Sep 21 12:28:47 EDT 2000:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    Unable to initialize server: com.bea.estore.rdbmsrealm.RDBMSException: realm initialization failed, action 'DriverManager.getConnection', - with nested exception:
    [SQL Exception: Failed to start database 'petStoreDB', see the next exception for details.]
    fatal initialization exception
    com.bea.estore.rdbmsrealm.RDBMSException: realm initialization failed, action 'DriverManager.getConnection', - with nested exception:
    [SQL Exception: Failed to start database 'petStoreDB', see the next exception for details.]
    at com.bea.estore.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:169)
    at com.bea.estore.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at com.bea.estore.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    at com.bea.estore.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java:757)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1084)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

  • Error in logs when starting server

    Hi,
    when i am trying to start my app server on sunone. I am getting the following errors in the logs.
    CORE1116: Sun ONE Application Server 7.0.0_01
    SEVERE: CORE1227: NSS initialization failed: SEC_ERROR_BAD_DATABASE: Problem using certificate or key database: Certificate database: /apps/sunone/sun-appserver7/var/domains/domain1/nicks-8033/config/cert7.db.
    Thus any one knows why this error comes. I have installed a SSL certificate on this server. Can it be that this certificate has not been installed properly.
    Nikhil

    Ok, I finally got it figured out.
    I needed the original (to that HTTP Server ) modplsql.dll.
    There was no PATH issue.
    Once I got the oracle_apache.conf calling plsql.conf and marvel.conf, using the correct DADs, I was all set. I post my solutions to save others some grief.
    The original Service Temporarily Unavailable message (Mozilla) was due to the fact that the HTMLDB_PUBLIC_USER account was locked after my upgrade.
    Along the way, I ran into an access Forbidden error, which was caused by the incorrect password in the DAD.
    Two simple things - unlock the HTMLDB_PUBLIC_USER acount, and of course make sure the DADs are correct.
    And as soon as I can I will be contacting Anton to combine all into one HTTP Server -thanks!

  • JMS transport warning when start server

    When I start a WebLogic 9 server instance with one application deployed, I get the following warning message 5-6 times before the server changes its state to RUNNING:
    <WSEE>Warning: JMS queue 'weblogic.wsee.DefaultQueue' is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
    Although the server instance still appears to start fine, these messages clog up the console - since I don't intend to use JMS transport with this server, is there any way to get rid of these messages?
    Thanks,
    David

    Hai
    I am using weblogic9.2. I too got the same problem in my machine. I have solved this problem by changing the configuration in the config.xml file.
    Go to
    <WEBLOGIC HOME>\user_projects\domains\<USER_DOMIN>\config\config.xml
    Open the config.xml and check the following
    <app-deployment>
    <name>webservicesJwsSimpleEar</name>
    <target>AdminServer</target>
    <module-type>ejb</module-type>
    <source-path>C:\bea\user_projects\applications\base_domain/server/examples/build/webservicesJwsSimpleEar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    if it is there comment this tag and save the config.xml file. Make sure that the server is not running while doing the changes. Now Start the server again.
    Comment out as like follows
    "<!--" <app-deployment>
    <name>webservicesJwsSimpleEar</name>
    <target>AdminServer</target>
    <module-type>ejb</module-type>
    <source-path>C:\bea\user_projects\applications\base_domain/server/examples/build/webservicesJwsSimpleEar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment> "-->"
    Its working for me try this
    Regards
    Ramesh
    Edited by ramesh.s at 04/04/2007 2:58 AM

  • Grey loading screen when start up + unable to start from disc

    When I start up my MBP I get a very slow grey loading screen. After a while it starts up my mac and it runs like normal. So no i finally got sick of the 10 min waiting before start up, I decided to re-instal from disc. When i normally insert the disc it starts. then I select the Instal and it rebooths. But it stays on a grey screen when reboothing.
    I also tryed to start it up with C and with holding alt and then selecting the cd. With C i get the same grey screen(Without loading bar and mac logo) and with Alt it just get stuck at selecting the cd.
    When I go to Disk Utility then I can use Check disk but not the delete one.
    I don't need to back up, just want it to work fine again.
    I hope you can help me out.

    Hi Arthur, and welcome to Apple Discussions.
    While booted from the install disc, have you opened Disk Utility and checked SMART status and run Repair Disk?

  • Error When Start Weblogic Server

    I build a web application under weblogic, before I package all the project
              into a war file, it runs correctly under weblogic. But after I package it
              into a war file, when I start weblogic , it said that "Error to load
              myapplication".
              I checked my application, and found the error was caused by one line in the
              web.xml. Because I need to do some initialization when start server. I want
              one servlet to be loaded at the time when weblogic server start. There is a
              line in the web.xml like this
              " <load-on-startup>1</load-on-startup> "
              The problem is caused by this line.
              If I delete this line or just remove the number "1", the weblogic can start
              without error. But my initialization work can not be done.
              Could anyone tell me why and how to solve this problem.
              Thanks
              Jerry Chang
              

    I believe this is the error you get when you try to start up a JVM with the commandline option '-native'.
    Remove this flag from your startup script and retry.
    By the way, it may be that you have the environment variable 'JAVA_OPTIONS' set to '-native' in which case:
    (first confirm this is the case)
    $ echo $JAVA_OPTIONS
    -native
    (Then edit the startup script if you get the result above)
    add in a line:
    # To remove '-native' flag
    unset JAVA_OPTIONS
    and retry.
    I have to confess I don't know what the '-native' flag is actually supposed to do, but my JVM also reports back that this is unsupported.

  • Error in starting server

    Hi,
    While starting a weblogic server I am getting the following error: I am using weblogic 9.1
    <Feb 13, 2007 1:47:31 PM EST> <Error> <HTTP> <BEA-101359> <The servlet weblogic.
    servlet.AsyncInitServlet init method failed while it was run in the background.
    The exception was: java.lang.ClassNotFoundException: com.bea.netuix.servlets.man
    ager.SingleFileServlet.
    java.lang.ClassNotFoundException: com.bea.netuix.servlets.manager.SingleFileServ
    let
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
    ClassLoader.java:222)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
    Loader.java:195)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
    areClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

    JP,
    Could you post the stack trace?
    JP wrote:
    I am getting error when starting server on linux saying JNDI not initializing JTA Exception. Please help me

  • Bad load arguments supplied when starting up the Reports Server

    Dear All,
    In report60\server\<filename>.ora
    Following were the contents :
    maxconnect=20
    cachedir="d:\Oracle\806\REPORT60\server\cache"
    cachesize=50
    minengine=0
    initengine=0
    maxengine=1
    maxidle=30
    security=1
    englife=50
    We chnaged it to
    maxconnect=20
    cachedir="d:\Oracle\806\REPORT60\server\cache"
    cachesize=50
    minengine=1
    initengine=0
    maxengine=5
    maxidle=30
    security=1
    englife=50
    We imideatly got result we checked it put it on live application server.
    Everything was smooth but next day we got calls/email from user saying report were slow. when we checked the windows process on application server rwmts60 was occuping 50% of memory so we killed that process. We restrarted the report service but was unable to restart.Then we saw the report log as follows :
    *** 2008-07-29 17:36:51 -- Server started up an engine. (Rep60_WEBDB-01)
    *** 2008-07-29 17:36:53 -- Server engine crashed. (Rep60_WEBDB-01)
    *** 2008-07-29 17:38:18 -- Server started up an engine. (Rep60_WEBDB-01)
    *** 2008-07-29 18:39:44 -- Server shutting down an engine. (Rep60_WEBDB-01)
    *** 2008-07-30 09:13:19 -- Server engine cannot be started. (Rep60_WEBDB-01)
    *** 2008-07-30 09:15:24 -- Server engine cannot be started. (Rep60_WEBDB-01)
    *** 2008-07-30 09:17:29 -- Server engine cannot be started. (Rep60_WEBDB-01)
    *** 2008-07-30 09:19:34 -- Server engine cannot be started. (Rep60_WEBDB-01)
    *** Bad load arguments supplied when starting up the Reports Server
    *** Bad load arguments supplied when starting up the Reports Server
    *** Bad load arguments supplied when starting up the Reports Server
    *** Bad load arguments supplied when starting up the Reports Server
    then we changed back our ora file to
    maxconnect=20
    cachedir="d:\Oracle\806\REPORT60\server\cache"
    cachesize=50
    minengine=0
    maxengine=1
    initengine=0
    maxidle=30
    security=1
    englife=50
    And restarted the service which restarted suceesfully.
    My question is i had changed maxengine=5 and minengine=1 on 20- JUL-2008 around 16:00 .Did this happen b'coz of this 2 parameters.
    Kindly advice.
    Thanking You in anticipation.
    Best Regards,
    Devendra

    Hello Mahendraji,
    Thanks for your reply.
    I may ask some basic question please accomodate me.
    <<$RACLE_HOME\reports\conf\apple_report.conf>>
    I have Application server 9i version 1.0.2.0.0 (isuite).
    I have installed in D drive
    In this drive a folder d:\orcale is created.
    Inside of this i don't have any folder called "reports"
    i have folder called "806"
    \\webdb-01\D-Drive\Oracle\806
    Inside of which i have folder "report60"
    \\webdb-01\D-Drive\Oracle\806\REPORT60
    Inside of which i have folder "SERVER"
    \\webdb-01\D-Drive\Oracle\806\REPORT60\SERVER
    In which i found "Rep60_WEBDB-01.ora" , "Rep60_WEBDB-01.log" and "cgicmd.dat"
    and 2 folders "CACHE" and "security".
    I am confused as you said that the file name should be Rep60_WEBDB-01.CONF but i have Rep60_WEBDB-01.ora are they one and the same . If yes is the extension b'coz i have older version of 9i i.e 1.0.2.0.0 (isuite).
    if no where i how i can search this .
    This Rep60_WEBDB-01.ora file doesnot have parameter "engineResponseTimeOut" if i add it will it work.
    Your explanation regarding "engineResponseTimeOut" is clear.
    Maximum Time taken by our report is 20 minutes. But sometimes when report hangs or SQL takes more time than normal due to the environment so the max time might change to 25 or 30 minutes in such a case should we keep it at 45 minutes to avoid any unneccessary termination.
    <<Note:
    It is always better to run batch reports on a separate server with different engineResponseTimeOut values. Do not submit interactive and batch reports to same server.>>
    If i create a seperate application server how can i send reports requested by user to batch in this seperrate server.
    What should be the criteria of report to be redirected to seperate server?
    What do mean by "submit interactive" and "submit batch"
    My interpretation is when we click on submit query button it is "submit interactive" is it correct.
    I am not clear about "submit batch"
    I know there might be some silly questions but please do accomodate.
    Kindly advice.
    Thanks.
    Regards,
    Devendra Shelke

  • Error 8 when starting the extracting the program-data load error:status 51

    Dear all,
    <b>I am facing a data exracton problem while extracting data from SAP source system (Development Client 220). </b>The scenario and related setting are as the flowings:
    A. Setting:
    We have created 2 source system one for the development and another for the quality in BW development client
    1. BW server: SAP NetWeaver 2004s BI 7
    PI_BASIS: 2005_1_700 Level: 12
    SAP_BW: 700 Level:13
    Source system (Development Client 220)
    2. SAP ERP: SAP ERP Central Component 6.0
    PI_BASIS: 2005_1_700 Level: 12
    OS: SunOS
    Source system (Quality Client 300)
    2. SAP ERP: SAP ERP Central Component 6.0
    PI_BASIS: 2005_1_700 Level: 12
    OS: HP-UX
    B. The scenario:
    I was abele to load the Info provider from the Source system (Development Client 220), late we create another Source system (Quality Client 300) and abele to load the Info provider from that,
    After creating the another Source system (Quality Client 300), initially I abele to load the info provider from both the Source system – , but now I am unable to load the Info provider from the (Development Client 220),
    Source system Creation:
    For both 220 and 300, back ground user in source system is same with system type with same authorization (sap_all, sap_new, S_BI-WX_RFC) And user for source system to bw connection is dialog type (S_BI-WX_RFC, S_BI-WHM_RFC, SAP_ALL, SAP_NEW)
    1: Now while at the Info Package : Start data load immediately and then get the
    e-mail sent by user RFCUSER, and the content:
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Service API .
    2:Error in the detail tab of the call monitor as under,
    <b>bi data upload error:status 51 - error: Error 8 when starting the extracting the program </b>
    Extraction (messages): Errors occurred
      Error occurred in the data selection
    Transfer (IDocs and TRFC): Errors occurred
    Request IDoc : Application document not posted (red)
      bw side: status 03: "IDoc: 0000000000007088 Status: Data passed to port OK,
                                    IDoc sent to SAP system or external program"
      r<b>/3 side: status 51:  IDoc: 0000000000012140 Status: Application document not posted
                                   Error 8 when starting the extraction program</b>
    Info IDoc 1 : Application document posted (green)
       r/3 side: "IDoc: 0000000000012141 Status: Data passed to port OK
                     IDoc sent to SAP system or external program"
       bw side: "IDoc: 0000000000007089 Status: Application document posted,
                     IDoc was successfully transferred to the monitor updating"
    Have attached screen shots showing error at BW side.
    •     check connection is ok, tried to restore the setting for bw-r3 connection – though same problem
    •     Have checked partner profile.
    <b>what's wrong with the process? </b>
    Best regards,
    dushyant.

    Hi,
       Refer note 140147.
    Regards,
    Meiy

  • Security Error when starting the server - WPLS 7.0

    Security Error when starting the server - WPLS 7.0
    what may be the reason ...
    console :
    BUILD SUCCESSFUL
    Total time: 3 seconds
    Starting WebLogic Server...
    <May 30, 2005 4:22:15 PM IST> <Notice> <Management> <140005> <Loading configuration C:\cpDomain\.\config.xml>
    <May 30, 2005 4:22:18 PM IST> <Info> <Logging> <000000> <FileLogger Opened at C:\cpDomain\portalServer\weblogi
    c.portalServer.log>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The RoleMapper provider has preexisting LDAP data.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The Authorizer provider has preexisting LDAP data.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090143> <The weblogic keystore provider DefaultKeyStore in re
    alm cprealm cannot be used for private keys because its configured private key keystore file wlDefaultKeyStore
    .jks does not exist.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090142> <The weblogic keystore provider DefaultKeyStore in re
    alm cprealm cannot be used for trusted (root) CAs because its trusted (root) CA keystore was not configured.>
    <May 30, 2005 4:22:21 PM IST> <Notice> <Security> <090082> <Security initializing using realm cprealm.>
    <May 30, 2005 4:22:21 PM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Excep
    tion:java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    <May 30, 2005 4:22:21 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to initialize the server: Fatal in
    itialization exception
    Throwable: java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    C:\cpDomain\bin>
    Thanks
    Thanks & Regards,
    Siva VP,
    [email protected]

    Looks like you cannot connect to LDAP. Are you configured correctly?

  • "Not an executable or is a link" errors when starting Messaging Server

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

  • "Local Module is not an executable or is a link" when starting Messaging Server

    "Local Module is not an executable or is a link" when starting Messaging Server
    <P>
    If you see error messages like this one when you try to start Netscape
    Messaging Server:<P>
    19971009095543:Dispatch:Notification:Local Module (Account-Handler) is
    not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    You may have a file permissions problem. This can happen if you change
    the Unix account that Messaging Server runs as. Try changing the
    permissions on the "bin" directory in your Netscape server root to make
    sure that the current Messaging Server user account has access to it
    (try granting public read and execute permissions to that directory);
    this should solve the problem.<P>

    BombingParadise wrote:
    Found out I need the latest version. I try downloading the latest version before and it keeps giving me this error saying I need to retry later. I restart my computer and try it again but I'm still getting the error >:\No you don't, Minecraft is built for Java 6.
    Amazing how you can do something as difficult as mod a game not yet built to be modded and yet not even know the basics of the basics of the command prompt, nor have the capacity to research it apparently.

Maybe you are looking for