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)

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

  • Application didnt start just says application error when starting...

    hi guys i have an application made wiht netbeans, in netbeans it works well with the virtual cell phone, but when i install the application on a sonyericsson w810i it just says that there is an error :S, i just add some screens before making a little more complex the application worked well in the cell phone, is there a way to know what is happening in netbeans i just make a trace but in the cell phone how can i know wich is the problem?

    i didn't really understand:
    you can install the application and when you launch it, it freezes or you cannot install the
    application?

  • Error reading Web application occurs when starting one server in the cluster

    Hi All,
              I have configured two cluster servers in the win 2000. Admin server also win
              2000. One cluster server joins the cluster while other gives following error
              and starts. But it seems that it does not join to the cluster view because
              prevoius server only serves the requests. I have attached the log also.
              <> <101062> <[HTTP synergyserver] Error reading Web application
              "D:\bea\wlserver6.0\.\config\bd2kadmindomain\applications\.wl_temp_do_not_de
              lete_synergyserver\wl_local_comp12863.war">
              java.net.UnknownHostException: java.sun.com
              at java.net.InetAddress.getAllByName0(InetAddress.java:571)
              at java.net.InetAddress.getAllByName0(InetAddress.java:540)
              at java.net.InetAddress.getAllByName(InetAddress.java:533)
              at weblogic.net.http.HttpClient.openServer(HttpClient.java:159)
              at weblogic.net.http.HttpClient.openServer(HttpClient.java:221)
              at weblogic.net.http.HttpClient.<init>(HttpClient.java:85)
              at
              weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:109
              at
              weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:30
              1)
              at java.net.URL.openStream(URL.java:798)
              at
              weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultRead
              erFactory.java:149)
              at
              weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternal
              Entity(DefaultEntityHandler.java:775)
              at
              weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternal
              Subset(DefaultEntityHandler.java:570)
              at
              weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner
              .java:1131)
              at
              weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocum
              entScanner.java:2177)
              at
              weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScan
              ner.java:2133)
              at
              weblogic.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatc
              h(XMLDocumentScanner.java:882)
              at
              weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
              nner.java:380)
              at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
              at
              weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
              va:123)
              at
              weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:1
              78)
              at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:446)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404)
              at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              at weblogic.j2ee.Application.addComponent(Application.java:133)
              at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              at
              weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
              arget.java:327)
              at
              weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
              arget.java:143)
              at
              weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:
              76)
              at java.lang.reflect.Method.invoke(Native Method)
              at
              weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
              .java:562)
              at
              weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
              48)
              at
              weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
              nImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy40.addWebDeployment(Unknown Source)
              at
              weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeploymen
              t(WebServerMBean_CachingStub.java:1012)
              at
              weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
              arget.java:313)
              at
              weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
              Target.java:277)
              at
              weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
              eploymentTarget.java:232)
              at
              weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
              entTarget.java:192)
              at java.lang.reflect.Method.invoke(Native Method)
              at
              weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
              .java:562)
              at
              weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
              48)
              at
              weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
              nImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy0.updateDeployments(Unknown Source)
              at
              weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(
              ServerMBean_CachingStub.java:2299)
              at
              weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl
              icationManager.java:240)
              at
              weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
              r.java:122)
              at java.lang.reflect.Method.invoke(Native Method)
              at
              weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
              .java:562)
              at
              weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
              48)
              at
              weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
              nImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy9.start(Unknown Source)
              at
              weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(
              ApplicationManagerMBean_CachingStub.java:435)
              at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
              at weblogic.management.Admin.finish(Admin.java:493)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              at weblogic.Server.main(Server.java:35)
              Each cluster servers domain names are different i.e. not "mydomain". The
              file its complaining is in the specified directory and it has proper
              priviledges.
              If anyone has an idea please respond.
              Thanks
              Nalika
              [synergyserver.log]
              

    You're getting that probably because the WL instance was not shut down properly.
    If that's the case, you'll need to remove an ldap lock file (with a .lok extension) in the directory of ldap files (under the server dir) .

  • 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

  • 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

  • "The Application was unable to start correctly (0xc000007b). Click OK to close the application" error when starting Visual Studio Community

    Hi,
    I just installed Visual Studio and when I launch it, the following error pops up: "The Application was unable to start correctly (0xc000007b). Click OK to close the application". I tried searching online but no usable results. Please help!
    jd

    Hi,
    There is not enough information about the problem. For troubleshooting, I recommend you can use Process Monitor to detect whether there's any process failed.
    You can download Process Monitor and see how to use it for troubleshooting in below links:
    http://support.microsoft.com/kb/939896
    http://blogs.technet.com/b/askperf/archive/2007/06/01/troubleshooting-with-process-monitor.aspx
    There are a lot of log entries in Process Monitor, you may filter Visual Studio process only(proces = devenv.exe). And you can upload the logs to OneDrive so that we can investigate them.
    Also, you can refer to Gfazil's post in 
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/96035692-9a50-40d4-a7d3-48bda87d11ec/the-application-was-unable-to-start-correctly-0xc000007b-click-ok-to-close-the-application-when?forum=vssetup
    Please try the method he mentioned to see whether the problem can occur:
    " Replacing the dlls mentioned below from a machine that is working solves the problem:
    c:\Windows\SysWOW64\msvcp100.dll
    c:\Windows\SysWOW64\msvcp100d.dll
    c:\Windows\SysWOW64\msvcr100.dll
    c:\Windows\SysWOW64\msvcr100_clr0400.dll
    c:\Windows\SysWOW64\msvcr100d.dll "
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • 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.

  • Out of application memory when starting iPhoto

    i get a "out of application memory" notification when trying to start iPhoto

    Curious. How much Ram on that machine?

  • Not a valid Win32 application error when starting javahost

    Hi,
    I am getting the error below. I have searched this forum and the web and found some mentions of it here and there, but no solutions (by the way I am not using MS IIS).
    OBI EE is installed on Windows Server 2003 Standard x64 Edition with Service Pack 2. Everything else (BI Server, presentation services and OC4J instance) is working fine.
    Any help on how to solve this would be much appreciated!
    Thanks,
    Luis
    D:\oracle\OracleBI\web\bin>java -version
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)
    D:\oracle\OracleBI\web\bin>sawjavahostsvc.exe /V
    10.1.3.4.1 (Build 090414.1900)
    D:\oracle\OracleBI\web\bin>sawjavahostsvc.exe
    Type: Error
    Severity: 20
    Time: Tue Nov 24 09:34:55 2009
    File: project/sawjavahostsvc/winmain.cpp Line: 163
    Properties: ThreadID-7880
    Location:
            saw.sawjavahost.initsawjavahost
            saw.sawjavahost
    %1 is not a valid Win32 application.
    D:\oracle\OracleBI\web\bin>

    Just found the solution for it. I had to "install" a 32 bit JRE and use it to run the java host.
    In fact I didn't install the JRE, I just copied its full folder structure from a 32 bit machine to the 64 bit machine and pointed JavaHome in the instanceconfig.xml to there.
    All is working well and everybody is happy now, however I am still confused... as I said, the OC4J is running fine with a 64 bit JRE, why the java host needs a 32 bit one? Do you think something went wrong in the installation or that is how things are?
    Luis

  • How to avoid reopening many application windows when starting iMac?

    everytime i start iMac, many application windows open automatically. how can i do to make sure it wont reopen these windows? thank you for your help.

    Take a look at this thread:
    https://discussions.apple.com/thread/3197405?start=15&tstart=0
    And these:
    http://osxdaily.com/2011/08/01/turn-off-resume-per-app-in-mac-os-x-lion/
    http://hints.macworld.com/article.php?story=20110918051930924

  • Avoid opening last application/window when starting

    hi,
    im currently using osx lion, I have a behaviour to shut down my computer and let the application that currently running closed by itself during shut down (including massive finder windows). But when I turn on my computer again, those windows reappears. While it might be a nice feature, its really bothering for me. Is it possible to tell osx lion NOT to open the last windows opened during shut down?
    Im also curious if its possible to do this on safari. I have limited bandwidth, and opening the last windows is annoying.
    can anyone help me on this one?
    Thanks in advance.

    Welcome to the iOS world of nonthinking, wherein the OS decides everything for you, whether or not that's what you want. Salient details described in http://www.apple.com/macosx/whats-new/features.html#resume 
    See these for steps to resolve:
    http://hints.macworld.com/article.php?story=20110918051930924
    http://osxdaily.com/2011/08/01/turn-off-resume-per-app-in-mac-os-x-lion/

  • Application Error when starting PE3

    Hello, whenever i try to start Adobe premiere elements 3.0 the fancy box pops up and starts to load everything and then another box pops up that says "The instruction at "0x09fd10e3" referenced memory at "0x00000018". The memory could not be "read". Click on OK to terminate the program." I have no idea what this means and help would be greatly appreciated. I have Windows XP on a dell computer if that helps. I tried to put this in the PE3 forum but i couldn't figure it out. Thanks

    Is this a new installation or a new problem with a program that's worked before?
    Are you on Vista or XP? 32-bit or 64-bit operating system?
    Have you installed the 3.02 patch and updated all of your firmware and Quicktime?
    http://www.adobeforums.com/webx/.3bc2fd1f
    http://www.adobeforums.com/webx/.3c057647/2

  • Application freezes when "started"

    Here is the complete source for a countdown timer (i.e., a stopwatch).
    The code compiles, but the program freezes whenever the user presses "start". The timer doesn't count down, either. The four levels of while loops in the `updateTextArea' function could very well contain the problem, but I'm not sure.
    Also: The sloppy programming `updateTextArea' is a partial consequence of my not being allowed to use timekeeping utilities, other than a `Timer' object.
    No "timeElapsed = someJavaUtility.timeNow - someJavaUtility.timeAtSomeReferenceTime" or anything like that.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CountdownTimer extends JPanel {
            public static void main(String[] args) {
                    JFrame f = new JFrame("Countdown Timer");
                     CountdownTimer content = new CountdownTimer();
                    f.setContentPane(content);
                    f.setSize(72 * 6, 72 * 3); // 6" x 3"
                    f.setLocation(400, 100);
                    f.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
                    f.setVisible(true);
                    f.setResizable(false);
            } // End main()
            JButton startButton, stopButton, resetButton, exitButton;
            JTextField display;
            JLabel message;
            JCheckBox hmToggle; // Toggles between hh:* and mmmm:* display.
            public CountdownTimer() {
                    setBackground(Color.GRAY);
                    setLayout( new FlowLayout(FlowLayout.LEFT, 10, 10) );
                    TimeKeeper timeKeeper = new TimeKeeper();
                    display = new JTextField("00:00:00.00");
                    message = new JLabel("");
                    add(display);
                    add(message);
                    add(timeKeeper);
                    add(hmToggle);
             * Instances of this class hold the time remaining on the timer.
            private static class HMS {
                    static final int
                            MINUTES = 1,  // Display time remaining as mmmm:ss
                            HOURS   = 10; // Display time remaining as hh:mm:ss
                    int hours;
                    int minutes;
                    int seconds;
                    // This variable holds TEN TIMES the number of milliseconds remaining.
                    int msec;
            private class ConstructDisplay extends HMS {
                    String displayHours = hours + ":" + minutes + ":" + seconds + "." + msec;
                    String displayMinutes = minutes + ":" + seconds + "." + msec;
            private class Action implements ActionListener {
                    public void actionPerformed(ActionEvent evt) { };
            private class TimeKeeper extends JPanel {
                            String timeEntered;             // Time entered in the display.
                            boolean minutesMode = false;    // Display mmmm:ss ?
                            HMS timeLeft;                   // Time remaining.
                            ConstructDisplay timerDisplay;  // Displays...
                            Timer timer;                    // Timer object.
                            public TimeKeeper() {
                                    setLayout(new FlowLayout(FlowLayout.LEFT) );
                                    startButton = new JButton("Start");
                                    stopButton = new JButton("Stop");
                                    resetButton = new JButton("Reset");
                                    exitButton = new JButton("Exit");
                                    hmToggle = new JCheckBox("Display Minutes and Seconds");
                                    // Set up listening
                                    startButton.addActionListener( new ActionListener() {
                                            public void actionPerformed(ActionEvent evt) {
                                                    start();
                                    stopButton.addActionListener(new Action() );
                                    resetButton.addActionListener(new Action());
                                    exitButton.addActionListener(new Action());
                                    hmToggle.addActionListener(new Action());
                                    // Add buttons to (sub-)panel
                                    add(startButton);
                                    add(stopButton);
                                    add(resetButton);
                                    add(exitButton);
                                    ActionListener action = new ActionListener() {
                                            public void actionPerformed(ActionEvent evt) {
                                            Object source = evt.getSource();
                                                   if(hmToggle == source) {
                                                   // Monitors the state of the
                                                   // checkbox.
                                                   minutesMode = true;
                                            countDown();
                                    timer = new Timer(10, action);
                                    // On launch:
                                    stopButton.setEnabled(false);
                                    resetButton.setEnabled(false);
                            } // End constructor
                            public void paintComponent(Graphics g) {
                                    super.paintComponent(g);
                             * Parse the display string, and start the timer.
                            private void start() {
                                    if(timeLeft == null) {
                                            timeLeft = new HMS();
                                            timerDisplay = new ConstructDisplay();
                                    // Disable interaction with the display while the
                                    // timer is counting down.
                                    display.setEditable(false);
                                    timeEntered = display.getText();
                                    // Fill the `timeLeft' record.
                                    timeLeft.hours   = Integer.parseInt( timeEntered.substring(0, 1) );
                                    timeLeft.minutes = Integer.parseInt( timeEntered.substring(3, 4) );
                                    timeLeft.seconds = Integer.parseInt( timeEntered.substring(6, 7) );
                                    timeLeft.msec    = Integer.parseInt( timeEntered.substring(9, 10) );
                                    if(minutesMode) {
                                            timeLeft.minutes = Integer.parseInt( timeEntered.substring(0, 3) );
                                            timeLeft.seconds = Integer.parseInt( timeEntered.substring(5, 6) );
                                            timeLeft.msec    = Integer.parseInt( timeEntered.substring(8, 9) );
                                    timer.start();
                            } // End start()
                             * Count down, 10 ms at a time. The display is updated
                             * based on the presentation selected by the user before clicking
                             * `start'.
                            private void countDown() {
                                    updateTextArea(timeLeft, HMS.HOURS);
                                    if(minutesMode) updateTextArea(timeLeft, HMS.MINUTES);
                                    // Update a warning indicator (future release).
                             * Stops, but does not reset, the timer. Allows the user to
                             * pause (for breaks, for example).
                            private void stop() {
                                    timer.stop();
                             * Resets the timer, which must be stopped before the
                             * display is reset.
                            private void reset() {
                                    stop();
                                    display.setText("00:00:00.00");
                                    if(minutesMode) display.setText("0000:00.00");
                                    timeLeft = null;
                             * Exits the program. (to avoid a possible namespace violation,
                             * the name `exit()' was not used).
                            private void exitTimer() {
                                    System.exit(0);
                             * Called to alert the user that time is up.
                            private void timeIsUp() {
                                    stop();
                                    message.setText("Time's up!");
                             * Updates the display after each "tick" of the timer. The
                             * display used is dependent upon the user's preference.
                            private void updateTextArea(HMS timeLeft, int displayType) {
                                    if(displayType == HMS.HOURS) {
                                    while(timeLeft.hours >= 0) {
                                            while(timeLeft.minutes >= 0) {
                                                    while(timeLeft.seconds >= 0) {
                                                            while(timeLeft.msec >= 0) {
                                                                    if(timeLeft.hours == 0 && timeLeft.minutes == 0 && timeLeft.seconds == 0 && timeLeft.msec == 0)
                                                                            timeIsUp();
                                                                    timeLeft.msec--;
                                                                    display.setText(timerDisplay.displayHours);
                                                                    if(timeLeft.msec == 0) {
                                                                            timeLeft.msec = 99;
                                                                            timeLeft.seconds--;
                                                                    repaint();
                                                             } // End `ms' block
                                                             if(timeLeft.seconds == 0) {
                                                                    timeLeft.seconds = 59;
                                                                    timeLeft.minutes--;
                                                    } // End `s' block
                                                    if(timeLeft.minutes == 0) {
                                                          timeLeft.minutes = 59;
                                                          timeLeft.hours--;
                                            } // End `m' block
                                    } // End `h' block
                                    } // end if
                                    // This is definitely cruft and will need to be cleaned up....
                                    if(displayType == HMS.MINUTES) {
                                            while(timeLeft.minutes >= 0) {
                                                    while(timeLeft.seconds >= 0) {
                                                            while(timeLeft.msec >= 0) {
                                                                    if(timeLeft.minutes == 0 && timeLeft.seconds == 0 && timeLeft.msec == 0)
                                                                            timeIsUp();
                                                                    timeLeft.msec--;
                                                                    display.setText(timerDisplay.displayMinutes);
                                                                    if(timeLeft.msec == 0) {
                                                                            timeLeft.msec = 99;
                                                                            timeLeft.seconds--;
                                                                    repaint();
                                                             } // End `ms' block
                                                             if(timeLeft.seconds == 0) {
                                                                    timeLeft.seconds = 59;
                                                                    timeLeft.minutes--;
                                                    } // End `s' block
                                            } // End `m' block
                                    } // end if
                            } // End updateTextArea()
            } // End nested class TimeKeeper
    }// End class CountdownTimer

    I would suggest you rethink the approach to use a Swing Timer or a Thread for your countdown timer, i will post a short example of a
    countdown timer using a swing timer. This countdown will update every second, but if you need to really accurate use a thread, all those nested whiles are scary, view Swing Timer api here:
    http://java.sun.com/javase/6/docs/api/javax/swing/Timer.html
    or Thread Here:
    http://java.sun.com/javase/6/docs/api/java/lang/Thread.html
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    //Implement ActionListener in order to use a Swing Timer
    public class SimpleTimer extends JFrame implements ActionListener{
         int time = 0;
         Timer timer; //Swing Timer
         JPanel display;
         public SimpleTimer(String s, int t){
              super(s);
              time= t;
              //Create a swing timer Timer(delay, ActionListener)
              timer = new Timer(1000, this);
                    //Start the timer (This is the real advantage ofa swing timer hte start() and stop methods())
                    //You may be using a button to do this or some other event but for simplicity i'm just starting it here
              timer.start();
              //display is used to show the time, i'm using paint but you could just as easily use a label or textbox etc...
              display = new JPanel(){
                   public void paintComponent(Graphics g){
                        super.paintComponent(g);
                        g.drawString(time + "", 5, 20);
              getContentPane().add(display);
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              setSize(300, 300);
              setVisible(true);
         //Is called by the Swing Timer
         public void actionPerformed(ActionEvent e){
              if (time == 0)
                   timer.stop();
              else{
                   time -= 1;
                   repaint(); //Called because i used paintComponent(Graphics g), could be JLabel.setText(String s), blah blah blah
         public static void main(String[] args){
              SimpleTimer st = new SimpleTimer("Simple Timer", 100);
    }

Maybe you are looking for

  • Ipod not seen in itunes

    I need help!!! My dad gave me his old ipod (nano 3rd gen) because it holds more songs than mine. All I want to do is put the songs from my library onto the new ipod but when I plug it in it shows up in my computer but not in itunes. This is very frus

  • IPOD Firmware Error

    I'm trying to restore/update my IPOD 20GB. (I bought it used from a friend who couldn't get it to work) After choosing restore factory settings it gives me an error that says "Firmware Failure. Disk Write Error" What can I do about this. Thanks for y

  • Html snippet rectangle is white, hides white overlaying text.

    Hi, Is there any way to change the base color of the rectangle the html snippet displays? I use a snippet to display some flash animation, which doesn't appear in iWeb. I don't mind only getting a rectangle, but it's white, and so it my overlying tex

  • Install programs

    i`m using pacman to install stuff and i keep getting this msg ; sh: line 1: chroot: command not found at the moment i`m trying to get mozilla installed but i cant get it to start. also is there supposed to be links created in the kde menu for mozilla

  • Organizing email- confused!

    Just made the switch from Entourage to Mail and have a simple question which I have not been able to find out clearly from Mail Help: What's the difference between a Mailbox, Folder, Smart Mailbox, and Smart Mailbox Folder?